Minor changes

This commit is contained in:
seajee
2024-06-30 20:10:01 +02:00
parent 242d2221d0
commit 53630effd6

View File

@@ -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"