mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-13 20:40:08 +01:00
wifilife: call netmode to sync credentials on reload/config write
This commit is contained in:
parent
bd1c686c18
commit
fa8fd97000
1 changed files with 6 additions and 0 deletions
|
|
@ -30,6 +30,12 @@ reload_service() {
|
|||
# procd_send_signal wifilife # use SIGHUP
|
||||
stop
|
||||
start
|
||||
|
||||
config_load owsd
|
||||
config_get enable ubusproxy enable
|
||||
if [ "$enable" == "1" ]; then
|
||||
ubus call netmode sync_wifilife
|
||||
fi
|
||||
}
|
||||
|
||||
service_triggers() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue