From 0d99930fa7dd98c8d3b3345ae58392fd617076a1 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Sun, 27 Nov 2022 19:51:30 -0500 Subject: [PATCH] Minor touchups --- debianzfs.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/debianzfs.sh b/debianzfs.sh index 0a3c501..ca8f198 100755 --- a/debianzfs.sh +++ b/debianzfs.sh @@ -7,7 +7,7 @@ ### Functions ### ################# function usage () { - echo "Usage: ./$(basename "$0") [-mpPr] [hostname]" + echo "Usage: ./$(basename "$0") [-mpPr] " } function disk_check () { @@ -157,9 +157,6 @@ if [ "$DEBUG" == "true" ]; then echo "RPOOLPW=${RPOOLPW}" fi -# Display commands -set -x - # Are the DISK paths block devices? AND # Are the DISK pathes empty devices? i.e., no filesystem signatures disk_check "$DISK" @@ -173,6 +170,9 @@ fi ### Step 1: Prepare The Install Environment ### ############################################### +# Display commands +set -x + # 1. Boot the Debian GNU/Linux Live CD... done # 2. Setup and update the repositories SOURCES_LIST="/etc/apt/sources.list" @@ -403,7 +403,7 @@ update-grub # 6. Install the boot loader # For UEFI booting, install GRUB to the ESP grub-install --target=x86_64-efi --efi-directory=/boot/efi \ - --bootloader-id=debian --recheck --no-floppy + --bootloader-id=debian --recheck --no-floppy # 7. Fix filesystem mount ordering mkdir /etc/zfs/zfs-list.cache