diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-12-18 12:38:29 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-12-18 12:38:29 +0000 |
commit | 17897449589281f35b93317e1d71e8543f9a1403 (patch) | |
tree | 2f4c2fb4074c542f100b92bfced52a7e4451c1e4 /package/network/config/netifd | |
parent | 2318a46d846453b6dfb93e3edc3575722ba782c0 (diff) | |
download | upstream-17897449589281f35b93317e1d71e8543f9a1403.tar.gz upstream-17897449589281f35b93317e1d71e8543f9a1403.tar.bz2 upstream-17897449589281f35b93317e1d71e8543f9a1403.zip |
netifd: add reload trigger for /etc/config/wireless as well
SVN-Revision: 39131
Diffstat (limited to 'package/network/config/netifd')
-rwxr-xr-x | package/network/config/netifd/files/etc/init.d/network | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/network/config/netifd/files/etc/init.d/network b/package/network/config/netifd/files/etc/init.d/network index 6728fbcda5..bc03783eb5 100755 --- a/package/network/config/netifd/files/etc/init.d/network +++ b/package/network/config/netifd/files/etc/init.d/network @@ -38,7 +38,10 @@ service_running() { service_triggers() { - procd_add_reload_trigger "network" + procd_open_trigger + procd_add_config_trigger "config.change" "network" /etc/init.d/network reload + procd_add_config_trigger "config.change" "wireless" /etc/init.d/network reload + procd_close_trigger } restart() { |