[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] fixed parameter passing via live.vars in 21xdriver



Passing parameters to 21xdriver via live.vars (esp. XDRIVER) is broken.
The attached patch fixes this bug.

Regards

Ronny Standtke

-- 
Ronny Standtke                 Fachhochschule Nordwestschweiz
Dozent Medienpädagogik / ICT   Pädagogische Hochschule
Telefon: +41 32 627 92 47      Obere Sternengasse 7
Mobil  : +41 79 786 81 82      4502 Solothurn
diff --git a/scripts/live-bottom/21xdriver b/scripts/live-bottom/21xdriver
index 105f5b2..d8b6204 100755
--- a/scripts/live-bottom/21xdriver
+++ b/scripts/live-bottom/21xdriver
@@ -20,6 +20,8 @@ esac
 
 # live-initramfs header
 
+. /live.vars
+
 if [ -n "${NOXAUTOCONFIG}" ] || [ ! -x /root/usr/bin/X ] || [ -z "${XDRIVER}" ]
 then
 	exit 0
@@ -31,8 +33,6 @@ log_begin_msg "Configuring X video driver"
 
 # live-initramfs script
 
-. /live.vars
-
 mount -o bind /sys /root/sys
 mount -o bind /proc /root/proc
 mount -o bind /dev /root/dev

Reply to: