Fix echo flag
This commit is contained in:
parent
5dd391fda6
commit
92a1b8a8d7
@ -4,7 +4,7 @@ echo "~> Setting up $blockdevice with:"
|
|||||||
echo " * 300M EFI (FAT32) partition"
|
echo " * 300M EFI (FAT32) partition"
|
||||||
echo " * <full> crypted (LUKS) root (EXT4) partition"
|
echo " * <full> crypted (LUKS) root (EXT4) partition"
|
||||||
|
|
||||||
echo "g\nn\n1\n2048\n+300M\nn\n2\n\n\np\nw" | fdisk $blockdevice
|
echo -e "g\nn\n1\n2048\n+300M\nn\n2\n\n\np\nw" | fdisk $blockdevice
|
||||||
|
|
||||||
if [ "$?" -eq 0 ]; then
|
if [ "$?" -eq 0 ]; then
|
||||||
echo "~> Seems to have worked. Yay!"
|
echo "~> Seems to have worked. Yay!"
|
||||||
|
Loading…
Reference in New Issue
Block a user