mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
netifd: add reload trigger for /etc/config/wireless as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39131 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user