netifd: check if /sbin/wifi exists before calling it
authorAndris PE <neandris@gmail.com>
Tue, 26 Mar 2024 19:53:06 +0000 (21:53 +0200)
committerRobert Marko <robimarko@gmail.com>
Sat, 30 Nov 2024 18:23:29 +0000 (19:23 +0100)
commit207bfee855320dc938f39e179b1d2e3b008140cb
treea083e38f5163f37443923a3b9556d0c0ce46d182
parent86f489c02f8250fc898a269e2e8ae9baa7ac4524
netifd: check if /sbin/wifi exists before calling it

Avoid harmless error from network script by checking presence of
now-optional wifi support script, most notably confusing users of x86
snapshots.

Fixes: #14964
Signed-off-by: Andris PE <neandris@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/14986
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/config/netifd/Makefile
package/network/config/netifd/files/etc/init.d/network