Workaround to ensure we switch to X during boot

* It was starting but you'd have to switch to tty2 and back to tty1 to see anything
This commit is contained in:
2Shirt 2017-12-27 12:38:25 -07:00
parent 29f663fd0e
commit 346b9f492c

View file

@ -5,7 +5,7 @@ if [ "$(fgconsole 2>/dev/null)" -eq "1" ]; then
sed -i -r 's/openbox-session/i3/' ~/.xinitrc
fi
if ! fgrep -q "nox" /proc/cmdline; then
startx
startx >/dev/null
else
hw-diags cli
fi