initrdscripts: Fix the init scripts to support the no fb case.

This commit is contained in:
Samuel Ortiz
2008-11-10 18:50:56 +01:00
parent cf96c4ce6c
commit 2685507637
4 changed files with 6 additions and 6 deletions

View File

@@ -27,9 +27,9 @@ read_args() {
LABEL=*)
label=$optarg ;;
video=*)
video_mode=$optarg ;;
video_mode=$arg ;;
vga=*)
vga_mode=$optarg ;;
vga_mode=$arg ;;
esac
done
}
@@ -79,7 +79,7 @@ case $label in
;;
install)
if [ -f /media/$i/$ROOT_IMAGE ] ; then
./install.sh $i $ROOT_IMAGE $video_mode $vga
./install.sh $i $ROOT_IMAGE $video_mode $vga_mode
else
fatal "Couldnt find install script"
fi