kumquat-buildroot/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S99splash
2007-08-17 13:02:52 +00:00

18 lines
276 B
Bash
Executable File

#!/bin/sh
PROGRAM=/usr/bin/fbv
SPLASHFILE="/etc/stk1000splash.jpg"
echo -n "Splash image: "
if [ ! -x "${PROGRAM}" -o ! -f "${SPLASHFILE}" ]; then
echo "missing"
exit 1
fi
${PROGRAM} ${SPLASHFILE} > /dev/null &
if [ $? -eq 0 ]; then
echo "loaded"
else
echo "failed"
fi