Skip to content
Snippets Groups Projects
Commit f902b04d authored by Bob Mottram's avatar Bob Mottram
Browse files

Initial syncthing config

parent 16b5016b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment