aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmou@mandriva.com>2002-01-30 14:17:59 +0000
committerChmouel Boudjnah <chmou@mandriva.com>2002-01-30 14:17:59 +0000
commite4d975c890a6f6e3a69ca7b8026b070ddd53eb74 (patch)
treeb56997a1082195a0bc92236187891adae230a55b
parent81bded9eeceb2223a385101b2332082ccaa835c4 (diff)
downloadbootsplash-e4d975c890a6f6e3a69ca7b8026b070ddd53eb74.tar
bootsplash-e4d975c890a6f6e3a69ca7b8026b070ddd53eb74.tar.gz
bootsplash-e4d975c890a6f6e3a69ca7b8026b070ddd53eb74.tar.bz2
bootsplash-e4d975c890a6f6e3a69ca7b8026b070ddd53eb74.tar.xz
bootsplash-e4d975c890a6f6e3a69ca7b8026b070ddd53eb74.zip
Allow to force resolition.
-rwxr-xr-xscripts/make-boot-splash8
1 files changed, 7 insertions, 1 deletions
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