From cf3a52210f1c89487ad969f072dfe9c413e83ea6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 18 Dec 2008 18:52:39 +0100 Subject: [PATCH] Sourcing live.vars in 21xdriver and 21xvidemode in order to be able to set variables in previous bottom scripts. --- scripts/live-bottom/21xdriver | 2 ++ scripts/live-bottom/21xvidemode | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/live-bottom/21xdriver b/scripts/live-bottom/21xdriver index 5232f5f..29ae78e 100755 --- a/scripts/live-bottom/21xdriver +++ b/scripts/live-bottom/21xdriver @@ -36,6 +36,8 @@ log_begin_msg "Configuring X video driver" # live-initramfs script +. /live.vars + if [ -n "$XDRIVER" ] then mount -o bind /sys /root/sys diff --git a/scripts/live-bottom/21xvidemode b/scripts/live-bottom/21xvidemode index 23eb212..ead3a6c 100755 --- a/scripts/live-bottom/21xvidemode +++ b/scripts/live-bottom/21xvidemode @@ -36,6 +36,8 @@ log_begin_msg "Configuring X video modes" # live-initramfs script +. /live.vars + if [ -n "$XVIDEOMODE" ] then mount -o bind /sys /root/sys -- 2.1.4