mirror of https://github.com/hak5/openwrt.git
netifd: add reload trigger for /etc/config/wireless as well
SVN-Revision: 39131lede-17.01
parent
2318a46d84
commit
1789744958
|
@ -38,7 +38,10 @@ service_running() {
|
||||||
|
|
||||||
service_triggers()
|
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() {
|
restart() {
|
||||||
|
|
Loading…
Reference in New Issue