aboutsummaryrefslogtreecommitdiffstats
path: root/setupdisk.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-03-22 19:34:49 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-03-22 19:34:49 -0500
commit31658d9562162d6083b83c316372399f48182651 (patch)
treebcd404968e7747661c5468353888c4144c4d2a0f /setupdisk.sh
parentba54fc2c9065ffa0637021c06b1c75dd2aa0820b (diff)
redirect all output to null.
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