#!/bin/sh # -*- Mode: shell-script -*- # Copyright (C) 2002 by Chmouel Boudjnah # Redistribution of this file is permitted under the terms of the GNU # Public License (GPL) # $Id$ [[ -f /etc/sysconfig/bootsplash ]] && source /etc/sysconfig/bootsplash [[ -z $THEME ]] && THEME=Mandriva [ $# = 2 ] || { echo "usage: $0 "; exit 1; } initrd_file=$1 plymouth-set-default-theme $THEME $splash_dir/scripts/make-boot-splash-raw $initrd_file $THEME || exit 1 if [ -z "$DURING_INSTALL" ]; then $splash_dir/scripts/switch-themes -u fi