X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F21xvidemode;h=1312530785fa2439f76a0798063a3e3b287d4a4b;hb=170a01e0a2064de0d5a5fdee79611c7886d1554c;hp=489fc5c6ac3d2ee87de49f671cd495f0c25029a3;hpb=d5a47f88c0e329f8915dddbc83c4f49b655c0d59;p=live-boot-grml.git diff --git a/scripts/live-bottom/21xvidemode b/scripts/live-bottom/21xvidemode index 489fc5c..1312530 100755 --- a/scripts/live-bottom/21xvidemode +++ b/scripts/live-bottom/21xvidemode @@ -40,6 +40,13 @@ log_begin_msg "Configuring X video modes" . /live.vars +if [ "${XVIDEOMODE}" = "auto" ] +then + rm -f /root/etc/X11/Xsession.d/21xvidemode + + exit 0 +fi + if [ $(cat /root/etc/debian_version | sed 's|\..*$||') -ge 4 ] then # lenny or newer