fixed backup filename
This commit is contained in:
parent
4c9bff4440
commit
08ef673bbb
4
hashboot
4
hashboot
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user