TEMP: route live diag to serial via sudo (revert after)
All checks were successful
Mirror to GitHub / mirror (push) Successful in 10s
All checks were successful
Mirror to GitHub / mirror (push) Successful in 10s
This commit is contained in:
parent
356cc08dfe
commit
122cd39cb1
2 changed files with 20 additions and 18 deletions
|
|
@ -41,8 +41,8 @@ if [[ "$(tty)" == /dev/tty1 ]] && [[ -z "$WAYLAND_DISPLAY" ]]; then
|
|||
export WLR_NO_HARDWARE_CURSORS=1
|
||||
# Log to a user-writable path (/var/log is root-only; redirecting there
|
||||
# would fail and silently keep the compositor from ever launching).
|
||||
Hyprland &>/tmp/hyprland-live.log
|
||||
echo "Hyprland exited (rc=$?). Log: /tmp/hyprland-live.log"
|
||||
Hyprland 2>&1 | sudo tee /tmp/hyprland-live.log /dev/ttyS0 >/dev/null
|
||||
echo "Hyprland exited. Log: /tmp/hyprland-live.log" | sudo tee /dev/ttyS0
|
||||
exec bash -i
|
||||
fi
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue