diff --git a/chrootInstall.sh b/chrootInstall.sh index e70e18d..c53b8cb 100755 --- a/chrootInstall.sh +++ b/chrootInstall.sh @@ -20,8 +20,7 @@ echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen echo 'LANG=en_US.UTF-8' > /etc/locale.conf ln -s /usr/share/zoneinfo/"$timezone" /etc/localtime locale-gen -hwclock --systohc --utc -echo -e "#!/bin/sh\nntpdate -b pool.ntp.org &" > /etc/local.d/ntp.start +curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/ntp-rclocal/ntp.start -o /etc/local.d/ntp.start chmod 755 /etc/local.d/ntp.start # networkmanager configuration diff --git a/install.sh b/install.sh index 0a25187..8d76e3a 100755 --- a/install.sh +++ b/install.sh @@ -3,7 +3,7 @@ loadkeys us echo ---------------------------------------------------------------------------------------------- echo rwinkhart\'s artix install script -echo last updated december 28, 2023 \(rev. A\) +echo last updated january 10, 2024 \(rev. A\) echo ---------------------------------------------------------------------------------------------- echo You will be asked some questions before installation. echo -e "----------------------------------------------------------------------------------------------\n" diff --git a/programs/ntp-rclocal/ntp.start b/programs/ntp-rclocal/ntp.start new file mode 100644 index 0000000..7eb643c --- /dev/null +++ b/programs/ntp-rclocal/ntp.start @@ -0,0 +1,8 @@ +#!/bin/sh +old_timestamp="$( /etc/local.d/.ntpsync +fi