[PATCH v3 3/4] package: fix wifi off/on functional button

Todor Colov todorcolov at abv.bg
Tue Sep 1 00:37:07 EDT 2020


---
 package/base-files/files/etc/rc.button/rfkill | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/base-files/files/etc/rc.button/rfkill b/package/base-files/files/etc/rc.button/rfkill
index fbdda40ed5..2d4f0f86ff 100755
--- a/package/base-files/files/etc/rc.button/rfkill
+++ b/package/base-files/files/etc/rc.button/rfkill
@@ -27,6 +27,6 @@ case "${TYPE}" in
 esac
 config_foreach wifi_rfkill_set wifi-device
 uci commit wireless
-wifi up
+wifi
 
 return 0
-- 
2.28.0




More information about the openwrt-devel mailing list