summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/21xdriver
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-06-08 18:46:50 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:53:26 +0100
commitcda125e58e225a96de05102884c4f469895e45e7 (patch)
tree66eaa4ccecb7a64d28fd743a8d6a0c871e3c08f1 /scripts/live-bottom/21xdriver
parentf6c564c541029c811890303e4b515bca18759f72 (diff)
downloadlive-boot-cda125e58e225a96de05102884c4f469895e45e7.tar.gz
live-boot-cda125e58e225a96de05102884c4f469895e45e7.zip
Removing xconfig, xdriver, and xvideomode scripts, live-config takes care about that now.
Diffstat (limited to 'scripts/live-bottom/21xdriver')
-rwxr-xr-xscripts/live-bottom/21xdriver56
1 files changed, 0 insertions, 56 deletions
diff --git a/scripts/live-bottom/21xdriver b/scripts/live-bottom/21xdriver
deleted file mode 100755
index 92bbd4f..0000000
--- a/scripts/live-bottom/21xdriver
+++ /dev/null
@@ -1,56 +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}" ] || [ ! -x /root/usr/bin/X ] || [ -z "${XDRIVER}" ]
-then
- exit 0
-fi
-
-. /scripts/live-functions
-
-log_begin_msg "Configuring X video driver"
-
-# live-boot script
-
-. /live.vars
-
-mount -o bind /sys /root/sys
-mount -o bind /proc /root/proc
-mount -o bind /dev /root/dev
-
-if [ "${XDRIVER}" != "dexconf" ]
-then
-
-chroot /root debconf-communicate -fnoninteractive live-boot > /dev/null << EOF
-set xserver-xorg/autodetect_video_card false
-set xserver-xorg/config/device/driver ${XDRIVER}
-EOF
-
-fi
-
-chroot /root dexconf
-
-umount /root/sys
-umount /root/proc
-umount /root/dev
-
-log_end_msg