summaryrefslogtreecommitdiff
path: root/archsetup
diff options
context:
space:
mode:
Diffstat (limited to 'archsetup')
-rwxr-xr-xarchsetup6
1 files changed, 4 insertions, 2 deletions
diff --git a/archsetup b/archsetup
index 16d7cc9..7d62fd4 100755
--- a/archsetup
+++ b/archsetup
@@ -1263,7 +1263,9 @@ desktop_environment() {
action="Sync Services" && display "subtitle" "$action"
pacman_install syncthing
- systemctl enable "syncthing@$username.service" >> "$logfile" 2>&1 || error "error" "$action" "$?"
+ # Use user service (not system service) to avoid lock file conflicts if both get enabled
+ loginctl enable-linger "$username"
+ sudo -u "$username" systemctl --user enable syncthing.service
# Desktop Environment Utilities
@@ -1638,7 +1640,7 @@ EOF
action="configuring boot menu for silence and bootsplash" && display "task" "$action"
if [ -f /etc/default/grub ]; then
action="resetting timeouts and adjusting log levels on grub boot" && display "task" "$action"
- sed -i "s/.*GRUB_TIMEOUT=.*/GRUB_TIMEOUT=0/g" /etc/default/grub
+ sed -i "s/.*GRUB_TIMEOUT=.*/GRUB_TIMEOUT=2/g" /etc/default/grub
sed -i "s/.*GRUB_DEFAULT=.*/GRUB_DEFAULT=0/g" /etc/default/grub
sed -i 's/.*GRUB_TERMINAL_OUTPUT=console/GRUB_TERMINAL_OUTPUT=gfxterm/' /etc/default/grub
sed -i 's/.*GRUB_GFXMODE=auto/GRUB_GFXMODE=1024x768/' /etc/default/grub