diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-21 13:30:47 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-21 13:30:47 -0600 |
| commit | c16e5f9c3a92df53aa759df660f4af1199205f2a (patch) | |
| tree | 1c77a66085427026180330694b965d2b91de3355 /archsetup | |
| parent | 1c95bb393b31122aa35a3ae85351058accf74f32 (diff) | |
fix(archsetup): increase GRUB timeout and switch syncthing to user service
- GRUB_TIMEOUT 0→2 seconds for menu access
- Syncthing: system service → user service with lingering to prevent lock conflicts
- Update airplanemodetoggle for user service
- Update validation to check lingering instead of system service
Diffstat (limited to 'archsetup')
| -rwxr-xr-x | archsetup | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |
