From afc8adc5cb7bd6a4f8af70ad605d608ae6164e9f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 18 Dec 2013 12:38:29 +0000 Subject: 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 --- package/network/config/netifd/files/etc/init.d/network | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'package/network/config/netifd/files/etc') 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() { -- cgit v1.2.3