mirror of https://schlomp.space/tastytea/hashboot
Save default SAVEDIR if answer is "".
parent
4762d7c8de
commit
59cbd14881
1
hashboot
1
hashboot
|
@ -124,6 +124,7 @@ else
|
|||
|
||||
echo -n "Where should backup file and digestfile be stored? [/var/lib/hashboot] "
|
||||
read -r SAVEDIR
|
||||
[ -z "${SAVEDIR}" ] && SAVEDIR="/var/lib/hashboot"
|
||||
echo "#Where the Backup files are stored" >> ${CONFIG_FILE}
|
||||
echo "SAVEDIR=${SAVEDIR}" >> ${CONFIG_FILE}
|
||||
DIGEST_FILE="${SAVEDIR}/hashboot.digest"
|
||||
|
|
Loading…
Reference in New Issue