fixed config writing

This commit is contained in:
tastytea 2015-09-29 20:28:04 +02:00
parent 84ffb6cbd7
commit 4b7a713b4d
1 changed files with 2 additions and 2 deletions

View File

@ -70,11 +70,11 @@ then
fi
#If not found, create one and ask for ${MBR_DEVICE}
else
echo "Which device contains the MBR? [/dev/sda] "
echo -n "Which device contains the MBR? [/dev/sda] "
read -r MBR_DEVICE
[ -z "${MBR_DEVICE}" ] && MBR_DEVICE="/dev/sda"
echo "#Device with the MBR on it" > ${CONFIG_FILE}
echo "mbr_device = ${MBR_DEVICE}"
echo "mbr_device = ${MBR_DEVICE}" >> ${CONFIG_FILE}
fi
#Write header