aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-11 17:05:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-11 17:05:50 +0000
commit500d3072ec8ff46f5c7c84607d379225275eccc7 (patch)
treeebc97f301b3a3fd191c3d0b50ec4a7e8b9d71c6c
parent79bbc4fbfb647185bc189fc9ca7585d388abc4a6 (diff)
downloadupstream-500d3072ec8ff46f5c7c84607d379225275eccc7.tar.gz
upstream-500d3072ec8ff46f5c7c84607d379225275eccc7.tar.bz2
upstream-500d3072ec8ff46f5c7c84607d379225275eccc7.zip
netifd: use procd_add_reload_trigger
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41147
-rwxr-xr-xpackage/network/config/netifd/files/etc/init.d/network5
1 files changed, 1 insertions, 4 deletions
diff --git a/package/network/config/netifd/files/etc/init.d/network b/package/network/config/netifd/files/etc/init.d/network
index 8a65f05b41..8a7427bacd 100755
--- a/package/network/config/netifd/files/etc/init.d/network
+++ b/package/network/config/netifd/files/etc/init.d/network
@@ -138,10 +138,7 @@ validate_switch_vlan()
service_triggers()
{
- 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
+ procd_add_reload_trigger network wireless
procd_open_validate
validate_atm_bridge_section