Ändern init Script -> Warten auf Monitorverbindung wenn keiner verbunden.
This commit is contained in:
parent
07ebef0294
commit
d5f16a21f8
@ -52,6 +52,12 @@ RUN printf "\
|
||||
#xrandr --output default --gamma 0:0:0 --mode 1200x1000\n\
|
||||
#rm -rf /tmp/* \n\
|
||||
OUTPUT=\`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'\`\n\
|
||||
while [ -z "\${OUTPUT}" ] \n\
|
||||
do \n\
|
||||
echo \"No display connected. Wait 10 Sec\" \n\
|
||||
sleep 10 \n\
|
||||
OUTPUT=\`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'\`\n\
|
||||
done \n\
|
||||
#xrandr -display :0 --output \$OUTPUT --set \"Broadcast RGB\" \"Full\"\n\
|
||||
#xsetroot #000000\n\
|
||||
#GEO="$(fbset -s | awk '$1 == "geometry" { print $2":"$3 }')" \n\
|
||||
|
Loading…
x
Reference in New Issue
Block a user