diff options
| -rwxr-xr-x | archsetup | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -448,6 +448,22 @@ essential_services() { display "subtitle" "Package Repository Cache Maintenance" systemctl enable --now paccache.timer >> "$logfile" 2>&1 || error "error" "$action" "$?" + + # Timeshift-Autosnap + display "subtitle" "Snapshot Service" + aur_install timeshift-autosnap + pacman_install grub-btrfs + action "enabling snapshot boot menu updates" && display "task" "$action" + systemctl enable grub-btrfsd >> "$logfile" 2>&1 || error "error" "$action" "$?" + sed -i \ + 's|ExecStart=/usr/bin/grub-btrfsd --syslog /.snapshots|ExecStart=/usr/bin/grub-btrfsd --syslog --timeshift-auto|' \ + /etc/systemd/system/grub-btrfsd.service + + action "starting snapshot boot menu updates" && display "task" "$action" + systemctl start grub-btrfsd >> "$logfile" 2>&1 || error "error" "$action" "$?" + + action "regenerating boot menu" && display "task" "$action" + grub-mkconfig -o /boot/grub/grub.cfg >> "$logfile" 2>&1 || error "error" "$action" "$?" } ### Xorg Display Manager @@ -512,6 +528,7 @@ desktop_environment() { pacman_install testdisk pacman_install udisks2 aur_install downgrade + aur_install duf aur_install inxi # File Associations |
