#!/bin/sh -x

TEMP1=$(mktemp)
TEMP2=$(mktemp)

${BINARY} cli config defaults folder fswatcher-enabled set ${FSWATCHER}
${BINARY} cli config defaults folder rescan-intervals set ${RESCANINTERVAL}
${BINARY} cli config defaults folder min-disk-free value set ${MINSPACE}
${BINARY} cli config defaults folder min-disk-free unit set GB
${BINARY} cli config options min-home-disk-free unit set GB
${BINARY} cli config options min-home-disk-free value set ${MINSPACE}
${BINARY} cli config options overwrite-remote-dev-names set true
 
rm -f ${TEMP1} ${TEMP2}