mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-06-05 22:19:21 +02:00
Only start GUI services if a screen is attached.
Support only for rpi's at this moment. Will figure out x86_64 when we get there.
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
status="$(sudo tvservice -n 2>&1)"
|
||||
|
||||
if [ "$status" == "[E] No device present" ];
|
||||
then
|
||||
exit 1
|
||||
else
|
||||
exit 0
|
||||
fi
|
Reference in New Issue
Block a user