From 53630effd68f2684eec19a377330ce4f42614816 Mon Sep 17 00:00:00 2001 From: seajee Date: Sun, 30 Jun 2024 20:10:01 +0200 Subject: [PATCH] Minor changes --- chroot.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chroot.sh b/chroot.sh index e6f5d90..23fa682 100755 --- a/chroot.sh +++ b/chroot.sh @@ -18,7 +18,7 @@ if [[ ! -f "/usr/share/zoneinfo/${timezone}" ]]; then exit 5 fi -echo "[INFO] Settings ${timezone} as the time zone" +echo "[INFO] Setting ${timezone} as the time zone" ln -sf "/usr/share/zoneinfo/${timezone}" /etc/localtime hwclock --systohc @@ -33,6 +33,8 @@ read -p "Enter a valid hostname (${hostname}): " input if [[ -n "$input" ]]; then hostname="$input" fi + +echo "[INFO] Setting ${hostname} as the hostname" echo "$hostname" > /etc/hostname echo "[INFO] Enabling NetworkManager to start at boot"