Merge pull request #2632 from dibdot/wifischedule
luci-app-wifischedule: apply-bugfix
This commit is contained in:
commit
11e64f84b5
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