mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-30 03:35:13 +08:00
update 2026-08-20 16:31:13
This commit is contained in:
1 parent
4b9f7909fd
commit
2ac8f487f6
8 files changed
+2
-141
No files matched your search
@@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
touch /etc/config/syncthing
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@syncthing[-1]
|
||||
add ucitrack syncthing
|
||||
set ucitrack.@syncthing[-1].exec='/etc/init.d/syncthing stop && /etc/init.d/syncthing start'
|
||||
commit ucitrack
|
||||
EOF
|
||||
# remove LuCI cache
|
||||
rm -f /tmp/luci*
|
||||
exit 0
|
||||
Reference in new issue
Block a user