mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-05 09:54:11 +08:00
update 2026-05-13 01:55:45
This commit is contained in:
1 parent
1b6001bfed
commit
6f4a0231c5
1857 files changed
+749084
-99
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete firewall.luci_app_softethervpn
|
||||
set firewall.luci_app_softethervpn=include
|
||||
set firewall.luci_app_softethervpn.type=script
|
||||
set firewall.luci_app_softethervpn.path=/var/etc/luci-app-softethervpn.include
|
||||
set firewall.luci_app_softethervpn.reload=1
|
||||
EOF
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@luci-app-softethervpn[-1]
|
||||
add ucitrack luci-app-softethervpn
|
||||
set ucitrack.@luci-app-softethervpn[-1].init=luci-app-softethervpn
|
||||
commit ucitrack
|
||||
EOF
|
||||
|
||||
/etc/init.d/softethervpnserver stop 2>/dev/null
|
||||
/etc/init.d/softethervpnserver disable 2>/dev/null
|
||||
|
||||
rm -rf /tmp/luci-*cache
|
||||
exit 0
|
||||
Reference in new issue
Block a user