mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00: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()
|
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
Block a user