luci-app-wifischedule: apply-bugfix
* minimal fix for #2631 (untested) Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
parent
90f0e09330
commit
f08c01976f
1 changed files with 3 additions and 1 deletions
|
@ -37,7 +37,9 @@ end
|
|||
|
||||
-- BEGIN Map
|
||||
m = Map("wifi_schedule", translate("Wifi Schedule"), translate("Defines a schedule when to turn on and off wifi."))
|
||||
function m.on_commit(self)
|
||||
m.apply_on_parse = true
|
||||
|
||||
function m.on_apply(self)
|
||||
sys.exec("/usr/bin/wifi_schedule.sh cron")
|
||||
end
|
||||
-- END Map
|
||||
|
|
Loading…
Reference in a new issue