/sbin/wifi: reload network/wireless on wifi restart

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39036
This commit is contained in:
Felix Fietkau 2013-12-11 19:48:19 +00:00
parent 3f744a4ad3
commit b656a56225

View File

@ -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