mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-08-28 04:46:27 -04:00
Sync with pool.ntp.org at boot
This commit is contained in:
+3
-1
@@ -19,6 +19,8 @@ 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
|
||||
chmod 755 /etc/local.d/ntp.start
|
||||
|
||||
# networkmanager configuration
|
||||
pacman -S networkmanager-openrc --noconfirm
|
||||
@@ -132,7 +134,7 @@ curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/confi
|
||||
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/powerset/powerset.sh -o /usr/local/bin/powerset.sh
|
||||
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/pipewire-start/pipewire-start.sh -o /usr/local/bin/pipewire-start.sh
|
||||
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/zsh-histclean/histclean -o /usr/local/bin/histclean
|
||||
echo -e \#\!/bin/sh"\nfstrim -Av &" > /etc/local.d/trim.start
|
||||
echo -e "#!/bin/sh\nfstrim -Av &" > /etc/local.d/trim.start
|
||||
chmod 755 /usr/local/bin/powerset.sh /usr/local/bin/pipewire-start.sh /usr/local/bin/histclean /etc/local.d/trim.start
|
||||
chown -R "$username":users /home/"$username"/.config/autostart /home/"$username"/.config/plasma-org.kde.plasma.desktop-appletsrc /home/"$username"/.config/krunnerrc /home/"$username"/.config/baloofilerc /home/"$username"/.config/ksmserverrc
|
||||
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
loadkeys us
|
||||
echo ----------------------------------------------------------------------------------------------
|
||||
echo rwinkhart\'s artix install script
|
||||
echo last updated december 07, 2023 \(rev. C\)
|
||||
echo last updated december 07, 2023 \(rev. D\)
|
||||
echo ----------------------------------------------------------------------------------------------
|
||||
echo You will be asked some questions before installation.
|
||||
echo -e "----------------------------------------------------------------------------------------------\n"
|
||||
@@ -164,7 +164,7 @@ echo "$hostname" > /mnt/etc/hostname
|
||||
echo "hostname=\'"$hostname"\'" > /mnt/etc/conf.d/hostname
|
||||
|
||||
# installing base packages
|
||||
base_devel='db diffutils gc guile libisl libmpc perl autoconf automake bash dash binutils bison esysusers etmpfiles fakeroot file findutils flex gawk gcc gettext grep groff gzip libtool m4 make pacman pacman-contrib patch pkgconf python sed opendoas texinfo which bc udev'
|
||||
base_devel='db diffutils gc guile libisl libmpc perl autoconf automake bash dash binutils bison esysusers etmpfiles fakeroot file findutils flex gawk gcc gettext grep groff gzip libtool m4 make pacman pacman-contrib patch pkgconf python sed opendoas texinfo which bc udev ntp'
|
||||
basestrap /mnt base $base_devel openrc elogind-openrc linux linux-firmware git man-db bash-completion
|
||||
|
||||
# applying IPv6 privacy entensions for all interfaces
|
||||
|
||||
Reference in New Issue
Block a user