wifilife: call netmode to sync credentials on reload/config write

This commit is contained in:
Jakob Olsson 2019-01-10 16:28:10 +01:00
parent bd1c686c18
commit fa8fd97000

View file

@ -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() {