11 lines
335 B
Diff
11 lines
335 B
Diff
--- a/luci-app-syncthing/root/etc/uci-defaults/luci-syncthing
|
|
+++ b/luci-app-syncthing/root/etc/uci-defaults/luci-syncthing
|
|
@@ -1,6 +1,7 @@
|
|
#!/bin/sh
|
|
touch /etc/config/syncthing
|
|
|
|
+sed -i "s/127.0.0.1:8384/0.0.0.0:8384/" /etc/config/syncthing
|
|
uci -q batch <<-EOF >/dev/null
|
|
delete ucitrack.@syncthing[-1]
|
|
add ucitrack syncthing
|