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/21xdriver | 56 ------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100755 scripts/live-bottom/21xdriver (limited to 'scripts/live-bottom/21xdriver') 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 -- cgit v1.2.3