diff options
author | Chmouel Boudjnah <chmou@mandriva.com> | 2002-01-30 14:17:59 +0000 |
---|---|---|
committer | Chmouel Boudjnah <chmou@mandriva.com> | 2002-01-30 14:17:59 +0000 |
commit | e4d975c890a6f6e3a69ca7b8026b070ddd53eb74 (patch) | |
tree | b56997a1082195a0bc92236187891adae230a55b | |
parent | 81bded9eeceb2223a385101b2332082ccaa835c4 (diff) | |
download | bootsplash-e4d975c890a6f6e3a69ca7b8026b070ddd53eb74.tar bootsplash-e4d975c890a6f6e3a69ca7b8026b070ddd53eb74.tar.gz bootsplash-e4d975c890a6f6e3a69ca7b8026b070ddd53eb74.tar.bz2 bootsplash-e4d975c890a6f6e3a69ca7b8026b070ddd53eb74.tar.xz bootsplash-e4d975c890a6f6e3a69ca7b8026b070ddd53eb74.zip |
Allow to force resolition.
-rwxr-xr-x | scripts/make-boot-splash | 8 |
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 |