From e4d975c890a6f6e3a69ca7b8026b070ddd53eb74 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Wed, 30 Jan 2002 14:17:59 +0000 Subject: Allow to force resolition. --- scripts/make-boot-splash | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/make-boot-splash b/scripts/make-boot-splash index 45b8c56..90eb731 100755 --- a/scripts/make-boot-splash +++ b/scripts/make-boot-splash @@ -13,8 +13,14 @@ initrd_file=$1 echo "You need to specify a initrd file as argument" exit 1; } +shift + +vgamode=$2 + +if [[ -z $vgamode || $vgamode == auto ]];then + vgamode=$( $splash_dir/scripts/detect-resolution ) +fi -vgamode=$( $splash_dir/scripts/detect-resolution ) if [[ $vgamode == 800* ]];then resolution=800x600 elif [[ $vgamode == 1024* ]];then -- cgit v1.2.1