aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make-boot-splash
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2002-03-01 21:26:34 +0000
committerFlorent Villard <warly@mandriva.com>2002-03-01 21:26:34 +0000
commitfb342bb519347a345ee99e4715e93965747bdc15 (patch)
tree180f41c53bd6b4326656a5408656d4cde59e927d /scripts/make-boot-splash
parentdc2ef3b96e0be532c7e51f8052b3d5c14828f0d3 (diff)
downloadbootsplash-fb342bb519347a345ee99e4715e93965747bdc15.tar
bootsplash-fb342bb519347a345ee99e4715e93965747bdc15.tar.gz
bootsplash-fb342bb519347a345ee99e4715e93965747bdc15.tar.bz2
bootsplash-fb342bb519347a345ee99e4715e93965747bdc15.tar.xz
bootsplash-fb342bb519347a345ee99e4715e93965747bdc15.zip
move config to /etc so that rc.sysinit see themV1_3_5_1mdk
update Mandrake themes images and config
Diffstat (limited to 'scripts/make-boot-splash')
-rwxr-xr-xscripts/make-boot-splash5
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