From 59cbd1488172e7c7d87365f025b9bc5abda4b3ed Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 24 Feb 2019 12:47:03 +0100 Subject: [PATCH] Save default SAVEDIR if answer is "". --- hashboot | 1 + 1 file changed, 1 insertion(+) diff --git a/hashboot b/hashboot index 15cb761..2c02382 100755 --- a/hashboot +++ b/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"