mirror of https://schlomp.space/tastytea/hashboot
comments \o/
parent
1ab5755792
commit
79bb8de0c9
1
hashboot
1
hashboot
|
@ -70,6 +70,7 @@ then
|
||||||
[ $? != 0 ] && die 9 "Error reading config file"
|
[ $? != 0 ] && die 9 "Error reading config file"
|
||||||
#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
|
||||||
if [ -z "$PS1" ]
|
if [ -z "$PS1" ]
|
||||||
then
|
then
|
||||||
echo "#Device with the MBR on it" > ${CONFIG_FILE}
|
echo "#Device with the MBR on it" > ${CONFIG_FILE}
|
||||||
|
|
Loading…
Reference in New Issue