From: Jo-Philipp Wich Date: Wed, 18 Dec 2013 12:38:29 +0000 (+0000) Subject: netifd: add reload trigger for /etc/config/wireless as well X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=17897449589281f35b93317e1d71e8543f9a1403;p=openwrt%2Fstaging%2Fmkresin.git netifd: add reload trigger for /etc/config/wireless as well SVN-Revision: 39131 --- 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() {