mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-04 06:53:56 +08:00
update 2026-05-10 09:48:30
This commit is contained in:
1 parent
95ac96413e
commit
0b362674f1
6244 files changed
+2992248
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete firewall.luci_app_timecontrol
|
||||
set firewall.luci_app_timecontrol=include
|
||||
set firewall.luci_app_timecontrol.type=script
|
||||
set firewall.luci_app_timecontrol.path=/var/etc/luci-app-timecontrol.include
|
||||
set firewall.luci_app_timecontrol.reload=1
|
||||
EOF
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@luci-app-timecontrol[-1]
|
||||
add ucitrack luci-app-timecontrol
|
||||
set ucitrack.@luci-app-timecontrol[-1].init=luci-app-timecontrol
|
||||
commit ucitrack
|
||||
EOF
|
||||
|
||||
rm -rf /tmp/luci-*cache
|
||||
exit 0
|
||||
Reference in new issue
Block a user