Revert "Disable usage reporter"
This reverts commit aa6baa6ab9
.
This is unnecessary, let the app decide the best UX
This commit is contained in:
parent
5b2993e1e0
commit
9e7649fe36
2
start.sh
2
start.sh
|
@ -10,11 +10,9 @@ if [ ! -f /app/data/config/config.xml ]; then
|
|||
/app/code/syncthing --generate="/app/data/config"
|
||||
|
||||
# The password value 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" \
|
||||
--subnode "//configuration/gui" -t elem -n password -v '$2a$10$93OsgwAMD4NcPFTpGDnuTORMMbj5dc1ZlYUPrQCcy1N/Bsy9scUvK' \
|
||||
--update "//configuration/options/urAccepted" -v '-1' \
|
||||
/app/data/config/config.xml
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue