X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F21xvidemode;h=1312530785fa2439f76a0798063a3e3b287d4a4b;hb=370058e2be83a9f6c71caa1935bc2e0fbf89aada;hp=489fc5c6ac3d2ee87de49f671cd495f0c25029a3;hpb=1051d32840cb0680ca88c52edd37bc768ceed4e3;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