Initial syncthing config
This commit is contained in:
parent
16b5016b06
commit
f902b04d46
|
@ -245,7 +245,12 @@ function user_devices_changed {
|
|||
CHANGED=1
|
||||
return
|
||||
fi
|
||||
|
||||
|
||||
if ! grep -q "${PROJECT_NAME}" $SYNCTHING_CONFIG_FILE; then
|
||||
CHANGED=1
|
||||
return
|
||||
fi
|
||||
|
||||
for d in /home/*/ ; do
|
||||
USERNAME=$(echo "$d" | awk -F '/' '{print $3}')
|
||||
if [[ $USERNAME != "git" && $USERNAME != "mirrors" && $USERNAME != "sync" ]]; then
|
||||
|
|
Loading…
Reference in New Issue