#!/bin/bash
# Lots of changes
#
if [ -z "$1" ]; then
echo $0 " full path file name at 1024x768 to use for splash screen"
exit 1
fi
cd /usr/share/doc/libusplash-dev/examples
datadir=$(date +%d-%m-%Y-%H-%M-%S)
cp eft_1024_768.png "eft_1024_768_${datadir}.png"
cp "$1" /usr/share/doc/libusplash-dev/examples/eft_1024_768.png
sleep 1
make clean
make
cp eft-theme.so /usr/lib/usplash/
sleep 1
update-alternatives --list usplash-artwork.so
sleep 1
update-alternatives --install /usr/lib/usplash/usplash-artwork.so usplash-artwork.so /usr/lib/usplash/eft-theme.so 10
sleep 1
update-alternatives --list usplash-artwork.so
sleep 1
update-usplash-theme eft-theme
echo "For testing:"
echo "usplash -c -x 1024 -y 768 "
echo "usplash -c -x 1024 -y 768 "
echo "usplash -c -x 1024 -y 768 "
echo "usplash -c -x 1024 -y 768 "
echo "Both tuxonice and boot splash updated"
Sunday, June 21, 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment