netifd: add reload trigger for /etc/config/wireless as well

SVN-Revision: 39131
lede-17.01
Jo-Philipp Wich 2013-12-18 12:38:29 +00:00
parent 2318a46d84
commit 1789744958
1 changed files with 4 additions and 1 deletions

View File

@ -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() {