summaryrefslogtreecommitdiff
path: root/package/network/config/netifd
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-12-18 12:38:29 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-12-18 12:38:29 +0000
commit46f28e1d8b91c3bdd2852ae2b91cbb327fc0a90a (patch)
tree275b7483bfd1479fe8772eb555d5df9e1e1530e7 /package/network/config/netifd
parentacdf075d371c1f4bc7675b1277eb40d3d063b99a (diff)
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/config/netifd')
-rwxr-xr-xpackage/network/config/netifd/files/etc/init.d/network5
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() {