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:
@ -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 ' ')
|
||||
|
Reference in New Issue
Block a user