diff options
Diffstat (limited to 'scripts/make-boot-splash')
-rwxr-xr-x | scripts/make-boot-splash | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/make-boot-splash b/scripts/make-boot-splash index bdbeca7..f9bb20f 100755 --- a/scripts/make-boot-splash +++ b/scripts/make-boot-splash @@ -6,6 +6,7 @@ # $Id$ : ${splash_dir=/usr/share/bootsplash} +: ${splash_cfg=/etc/bootsplash} [[ -f /etc/sysconfig/bootsplash ]] && source /etc/sysconfig/bootsplash [[ -z $THEME ]] && THEME=Mandrake @@ -31,9 +32,9 @@ elif [[ $vgamode == 1280* ]];then resolution=1280x1024 fi -if [[ -f $splash_dir/themes/$THEME/images/bootsplash-$resolution.jpg && -f $splash_dir/themes/$THEME/cfg/bootsplash-$resolution.cfg ]];then +if [[ -f $splash_dir/themes/$THEME/images/bootsplash-$resolution.jpg && -f $splash_cfg/themes/$THEME/cfg/bootsplash-$resolution.cfg ]];then image=$splash_dir/themes/$THEME/images/bootsplash-$resolution.jpg - config=$splash_dir/themes/$THEME/cfg/bootsplash-$resolution.cfg + config=$splash_cfg/themes/$THEME/cfg/bootsplash-$resolution.cfg fi if [[ -n $image ]];then |