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 | afc8adc5cb7bd6a4f8af70ad605d608ae6164e9f (patch) | |
tree | 275b7483bfd1479fe8772eb555d5df9e1e1530e7 /package/network | |
parent | 7ab73136ccc29f38ab92e5716b16a4c2e7e3285d (diff) | |
download | master-187ad058-afc8adc5cb7bd6a4f8af70ad605d608ae6164e9f.tar.gz master-187ad058-afc8adc5cb7bd6a4f8af70ad605d608ae6164e9f.tar.bz2 master-187ad058-afc8adc5cb7bd6a4f8af70ad605d608ae6164e9f.zip |
netifd: add reload trigger for /etc/config/wireless as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39131 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
-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() { |