mirror of https://schlomp.space/tastytea/hashboot
interactive test test
parent
6df2751a13
commit
ed1511441c
2
hashboot
2
hashboot
|
@ -71,7 +71,7 @@ then
|
||||||
#If not found, create one and ask for ${MBR_DEVICE}
|
#If not found, create one and ask for ${MBR_DEVICE}
|
||||||
else
|
else
|
||||||
#Create ${CONFIG_FILE} with defaults if noninterctive
|
#Create ${CONFIG_FILE} with defaults if noninterctive
|
||||||
if [ -z "$PS1" ]
|
if [ -t "0" ]
|
||||||
then
|
then
|
||||||
echo "#Device with the MBR on it" > ${CONFIG_FILE}
|
echo "#Device with the MBR on it" > ${CONFIG_FILE}
|
||||||
echo "MBR_DEVICE=${MBR_DEVICE}" >> ${CONFIG_FILE}
|
echo "MBR_DEVICE=${MBR_DEVICE}" >> ${CONFIG_FILE}
|
||||||
|
|
Loading…
Reference in New Issue