mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 19:12:33 +08:00
netifd: add reload trigger for /etc/config/wireless as well
SVN-Revision: 39131
This commit is contained in:
parent
2318a46d84
commit
1789744958
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user