From 94743e6d2bb964f2cbf4d47fdb682f5f088a285b Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 13 Apr 2024 14:40:35 -0500 Subject: fit and finish bug fixing - install gist - add nohostname flag to all agetty commands - added pacman repo maintenance timer - gotop -> gotop-bin - tor-browser -> tor-browser-bin - updated tasks --- archsetup | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'archsetup') diff --git a/archsetup b/archsetup index ff4b61a..00e5fe3 100755 --- a/archsetup +++ b/archsetup @@ -145,7 +145,7 @@ aur_install() { fi } -# Pip Install +# PIP Install pip_install() { [ -x "$(command -v "pip")" ] || pacman_install python-pip action="installing $1 via PIP" && display "task" "$action" @@ -424,6 +424,11 @@ essential_services() { pacman_install at action "enabling the batch delayed command scheduler" && display "task" "$action" systemctl enable atd >> "$logfile" 2>&1 || error "error" "$action" "$?" + + # Package Repository Cache Maintenance + + display "subtitle" "Package Repository Cache Maintenance" + systemctl enable --now paccache.timer >> "$logfile" 2>&1 || error "error" "$action" "$?" } ### Xorg Display Manager @@ -550,7 +555,7 @@ desktop_environment() { pacman_install "$software" done; - for software in lf-git task-spooler speedtest-go gotop rar; do + for software in lf-git task-spooler speedtest-go gotop-bin rar; do aur_install "$software" done; @@ -603,7 +608,7 @@ desktop_environment() { action="Browsers" && display "subtitle" "$action" pacman_install firefox aur_install librewolf-bin - aur_install tor-browser + aur_install tor-browser-bin aur_install google-chrome-stable # Install Printing @@ -684,6 +689,7 @@ developer_workstation () { aur_install mu # email indexer and utilities aur_install multimarkdown # markdown conversion aur_install proselint # grammar checker + aur_install gist # command-line gist poster pacman_install aspell # spell check system pacman_install aspell-en # spell check english files pacman_install fd # a faster find for dired/dirvish @@ -850,6 +856,10 @@ silent_boot() { action="removing hostname from login prompt" && display "task" "$action" sed -i "s/--noclear/--nohostname --noclear/g" /usr/lib/systemd/system/getty@.service \ || error "error" "$action" "$?" + sed -i "s/--noclear/--nohostname --noclear/g" /usr/lib/systemd/system/container-getty@.service \ + || error "error" "$action" "$?" + sed -i "s/--noclear/--nohostname --noclear/g" /usr/lib/systemd/system/console-getty.service \ + || error "error" "$action" "$?" action="silencing the unneeded and chatty watchdog module" && display "task" "$action" echo "blacklist iTCO_wdt" >/etc/modprobe.d/nowatchdog.conf || error "error" "$action" "$?" -- cgit v1.2.3