diff options
author | Dirk Brenken <dev@brenken.org> | 2019-03-20 06:15:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-20 06:15:50 +0100 |
commit | 11e64f84b56308f6c93f7166c401000d0e415326 (patch) | |
tree | 17c704c2138c97039e4893db0233edbd280c2d09 | |
parent | 90f0e093304da1b1a3fbfbb39216fd1de3679f47 (diff) | |
parent | f08c01976f51bae1f452e339f3ea18be8043e172 (diff) |
Merge pull request #2632 from dibdot/wifischedule
luci-app-wifischedule: apply-bugfix
-rw-r--r-- | applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua b/applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua index 61a94ca5dc..1644514166 100644 --- a/applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua +++ b/applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua @@ -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 |