From fb342bb519347a345ee99e4715e93965747bdc15 Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Fri, 1 Mar 2002 21:26:34 +0000 Subject: move config to /etc so that rc.sysinit see them update Mandrake themes images and config --- scripts/make-boot-splash | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.1