From cda125e58e225a96de05102884c4f469895e45e7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 8 Jun 2010 18:46:50 +0200 Subject: Removing xconfig, xdriver, and xvideomode scripts, live-config takes care about that now. --- scripts/live-bottom/21xvidemode | 55 ----------------------------------------- 1 file changed, 55 deletions(-) delete mode 100755 scripts/live-bottom/21xvidemode (limited to 'scripts/live-bottom/21xvidemode') diff --git a/scripts/live-bottom/21xvidemode b/scripts/live-bottom/21xvidemode deleted file mode 100755 index ac28fad..0000000 --- a/scripts/live-bottom/21xvidemode +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-boot header - -if [ -n "${NOXAUTOCONFIG}" ] -then - exit 0 -fi - -if [ ! -x /root/usr/bin/X ] -then - exit 0 -fi - -[ -n "$XVIDEOMODE" ] || exit - -. /scripts/live-functions - -log_begin_msg "Configuring X video modes" - -# live-boot script - -. /live.vars - -if [ "${XVIDEOMODE}" = "auto" ] -then - rm -f /root/etc/X11/Xsession.d/21xvidemode - - exit 0 -fi - -if [ -x "$(which xrandr 2>/dev/null)" ] -then - echo "xrandr -s ${XVIDEOMODE} || /bin/true" >> /root/etc/X11/Xsession.d/21xvidemode -fi - -log_end_msg -- cgit v1.2.3