Skip to content

Commit

Permalink
Sourcing live.vars in 21xdriver and 21xvidemode in order to be able t…
Browse files Browse the repository at this point in the history
…o set variables in previous bottom scripts.
  • Loading branch information
daniel-baumann committed Dec 18, 2008
1 parent fd6f423 commit 21706cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/live-bottom/21xdriver
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions scripts/live-bottom/21xvidemode
Expand Up @@ -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
Expand Down

0 comments on commit 21706cf

Please sign in to comment.