#!/bin/bash if [ -z $2 ]; then echo "usage: $0 "; exit 1; fi cd /boot mkinitrd -c $1 splash -s -f /etc/bootsplash/themes/$2/config/bootsplash-1024x768.cfg >> /boot/initrd.gz