blob: 21a3a5758bcb0f4dd918272178b204a7e60c14ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
FBV=/usr/bin/fbv
FBSET=/usr/sbin/fbset
FBMODEFILE="/etc/fb.modes"
SPLASHFILE="/etc/stk1000bootsplash.jpg"
echo -n "Bootsplash image: "
if [ ! -x "${FBV}" -o ! -x "${FBSET}" -o \
! -f "${SPLASHFILE}" -o ! -f "${FBMODEFILE}" ]; then
echo "missing"
exit 1
fi
if ! ${FBSET} 320x240-68; then
echo "failed"
exit 1
fi
${FBV} ${SPLASHFILE} > /dev/null &
if [ $? -eq 0 ]; then
echo "loaded"
else
echo "failed"
fi
|