mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-04 23:33:56 +08:00
🎁 Sync 2026-08-05 20:25:34
This commit is contained in:
1 parent
e71d910024
commit
ca3fdb1643
31 files changed
+374
-113
No files matched your search
@@ -3,6 +3,10 @@ local uci = luci.model.uci.cursor()
|
||||
a = Map("miaplus")
|
||||
a.title = translate("Internet Access Schedule Control Plus")
|
||||
a.description = translate("Access Schedule Control Description")
|
||||
a.apply_on_parse = true
|
||||
function a.on_apply(self)
|
||||
luci.sys.call("/etc/init.d/miaplus restart >/dev/null 2>&1 &")
|
||||
end
|
||||
|
||||
a:section(SimpleSection).template = "miaplus/miaplus_status"
|
||||
|
||||
|
||||
Reference in new issue
Block a user