mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-08-28 04:46:27 -04:00
Simplify timezone option
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ intel_vaapi_driver=${args[9]}
|
||||
# configuring locale and clock Settings
|
||||
echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen
|
||||
echo 'LANG=en_US.UTF-8' > /etc/locale.conf
|
||||
ln -s /usr/share/zoneinfo/America/"$timezone" /etc/localtime
|
||||
ln -s /usr/share/zoneinfo/"$timezone" /etc/localtime
|
||||
locale-gen
|
||||
hwclock --systohc --utc
|
||||
|
||||
|
||||
+2
-3
@@ -3,7 +3,7 @@
|
||||
loadkeys us
|
||||
echo ----------------------------------------------------------------------------------------------
|
||||
echo rwinkhart\'s artix install script
|
||||
echo last updated december 03, 2023 \(rev. B\)
|
||||
echo last updated december 03, 2023 \(rev. C\)
|
||||
echo ----------------------------------------------------------------------------------------------
|
||||
echo You will be asked some questions before installation.
|
||||
echo -e "----------------------------------------------------------------------------------------------\n"
|
||||
@@ -28,8 +28,7 @@ read -rp "$username password: " userpassword
|
||||
|
||||
read -rp "hostname: " hostname
|
||||
|
||||
echo -e '\namerica:'&&ls /usr/share/zoneinfo/America
|
||||
echo -e 'e.g. "New_York" or "Aruba"\n'
|
||||
echo -e '\ne.g. "EST" or "UTC"'
|
||||
read -r -p "timezone: " timezone
|
||||
# stop questions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user