aboutsummaryrefslogtreecommitdiffstats
path: root/setupdisk.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setupdisk.sh')
-rw-r--r--setupdisk.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/setupdisk.sh b/setupdisk.sh
index 3d33d70..2cdad5b 100644
--- a/setupdisk.sh
+++ b/setupdisk.sh
@@ -1,7 +1,7 @@
LFS_DISK="$1"
LFS_ROOT="$2"
-sudo fdisk "${LFS_DISK}" << EOF
+sudo fdisk "${LFS_DISK}" >/dev/null 2>&1 << EOF
o
n
p
@@ -20,4 +20,4 @@ w
q
EOF
-sudo /sbin/mkfs -t ext4 -L "${LFS_VER}" -F "${LFS_DISK}${LFS_ROOT}"
+sudo /sbin/mkfs -t ext4 -L "${LFS_VER}" -F "${LFS_DISK}${LFS_ROOT}" >/dev/null 2>&1