aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/wifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-12-11 19:48:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-12-11 19:48:19 +0000
commitb656a562254fc9c2363fc246ff6d394ce372515a (patch)
tree8c2c8716d2abe202f8eebc841cfac3ebb8e8d4da /package/base-files/files/sbin/wifi
parent3f744a4ad36ae3ea9648ef1fe7aa8ef96ce6aa8d (diff)
downloadupstream-b656a562254fc9c2363fc246ff6d394ce372515a.tar.gz
upstream-b656a562254fc9c2363fc246ff6d394ce372515a.tar.bz2
upstream-b656a562254fc9c2363fc246ff6d394ce372515a.zip
/sbin/wifi: reload network/wireless on wifi restart
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39036
Diffstat (limited to 'package/base-files/files/sbin/wifi')
-rwxr-xr-xpackage/base-files/files/sbin/wifi2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi
index 897ee4ff14..051bc89a2d 100755
--- a/package/base-files/files/sbin/wifi
+++ b/package/base-files/files/sbin/wifi
@@ -232,5 +232,5 @@ case "$1" in
reload) wifi_reload "$2";;
reload_legacy) wifi_reload_legacy "$2";;
--help|help) usage;;
- *) wifi_updown "enable" "$2";;
+ *) ubus call network reload; wifi_updown "enable" "$2";;
esac