Add ability to select if you have a screen attached or not. This should solve screen vs headless mode problems with getting the GUI to start.

This commit is contained in:
Storm Dragon
2025-04-23 20:51:12 -04:00
parent 04ed33a4e2
commit 56e2431422
3 changed files with 71 additions and 0 deletions

View File

@ -82,6 +82,9 @@ while [[ "$choice" != "Exit" ]]; do
"Configure internet")
/usr/bin/nmtui-connect
;;
"Configure Screen")
./.includes/toggle-screen.sh
;;
"Enable Bluetooth")
sudo "${sudoFlags[@]}" sed -i 's/^#AutoEnable=false$/AutoEnable=true/' /etc/bluetooth/main.conf
sudo "${sudoFlags[@]}" systemctl enable bluetooth --now
@ -123,6 +126,7 @@ while [[ "$choice" != "Exit" ]]; do
"Change username"
"Configure Fenrir"
"Configure internet"
"Configure Screen"
"Enable Bluetooth"
)
raspberryPiVersion=$(cat /sys/firmware/devicetree/base/model | cut -f-3 -d ' ')