/sbin/wifi: reload network/wireless on wifi restart
authorFelix Fietkau <nbd@openwrt.org>
Wed, 11 Dec 2013 19:48:19 +0000 (19:48 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 11 Dec 2013 19:48:19 +0000 (19:48 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39036

package/base-files/files/sbin/wifi

index 897ee4ff14083a4a6b90a84a07dabae064cc3c88..051bc89a2d9e3b7dcb643bffc22c5f9c665b64d1 100755 (executable)
@@ -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