diff --git a/start.sh b/start.sh index 105ffd7..0b7e577 100755 --- a/start.sh +++ b/start.sh @@ -5,11 +5,11 @@ set -eu mkdir -p /app/data/config /app/data/folders /run/syncthing # if this if the first run, generate a useful config -if [ ! -f /app/data/config/config.xml ]; then +if [[ ! -f /app/data/config/config.xml ]]; then echo "=> Generating config" STNODEFAULTFOLDER=1 /app/code/syncthing --generate="/app/data/config" - # The password value was determined by reading config.xml and setting value in the GUI + # The password value (changeme) was determined by reading config.xml and setting value in the GUI # urAccepted is 0 for not decided, -1 for no reporting xmlstarlet ed --inplace \ --subnode "//configuration/gui" -t elem -n user -v "admin" \