mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-30 15:45:13 +08:00
update 2026-08-25 16:35:13
This commit is contained in:
1 parent
a438ed414d
commit
a3b0b250ea
1956 files changed
-1523142
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