aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
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
commit59559e79729ed1a0034c1914610ac909b6df0778 (patch)
tree703ab42c1f1d7678f52e12c679f2fd8cba968b56 /package/base-files/files
parentf55ec74efaf45921f74bd8f857b7d511a86069dd (diff)
downloadmaster-187ad058-59559e79729ed1a0034c1914610ac909b6df0778.tar.gz
master-187ad058-59559e79729ed1a0034c1914610ac909b6df0778.tar.bz2
master-187ad058-59559e79729ed1a0034c1914610ac909b6df0778.zip
/sbin/wifi: reload network/wireless on wifi restart
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39036 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files')
-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