fixed backup filename

This commit is contained in:
tastytea 2015-10-05 01:09:35 +02:00
parent 4c9bff4440
commit 08ef673bbb

View File

@ -77,9 +77,9 @@ else
echo "#Device with the MBR on it" > ${CONFIG_FILE}
echo "MBR_DEVICE=${MBR_DEVICE}" >> ${CONFIG_FILE}
echo -n "Where should backupfile be stored?"
echo -n "Where should backup file be stored? [/var/cache/boot-backup.tar] "
read -r BACKUP_FILE
[ -z "${BACKUP_FILE}" ] && BACKUP_FILE="/var/cache/boot-backup.tar.gz"
[ -z "${BACKUP_FILE}" ] && BACKUP_FILE="/var/cache/boot-backup.tar"
echo "#Where the Backup files are stored" >> ${CONFIG_FILE}
echo "BACKUP_FILE=${BACKUP_FILE}" >> ${CONFIG_FILE}
else