summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-12-18 18:52:39 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:03 +0100
commitcf3a52210f1c89487ad969f072dfe9c413e83ea6 (patch)
tree1aec90b2d7f7cf20724ae889bec5c5f3098df9e5 /scripts
parent92f37fc4d55b95eeb73ec839788f35eec75232e7 (diff)
downloadlive-boot-cf3a52210f1c89487ad969f072dfe9c413e83ea6.tar.gz
live-boot-cf3a52210f1c89487ad969f072dfe9c413e83ea6.zip
Sourcing live.vars in 21xdriver and 21xvidemode in order to be able to set variables in previous bottom scripts.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live-bottom/21xdriver2
-rwxr-xr-xscripts/live-bottom/21xvidemode2
2 files changed, 4 insertions, 0 deletions
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