diff options
Diffstat (limited to 'target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S99splash')
-rwxr-xr-x | target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S99splash | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S99splash b/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S99splash index c40790e39..47001adb2 100755 --- a/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S99splash +++ b/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S99splash @@ -3,16 +3,15 @@ PROGRAM=/usr/bin/fbv SPLASHFILE="/etc/stk1000splash.jpg" -echo -n "Splash image:" +echo -n "Splash image: " if [ ! -x "${PROGRAM}" -o ! -f "${SPLASHFILE}" ]; then - echo " missing" + echo "missing" exit 1 fi -${PROGRAM} ${SPLASHFILE} < /dev/null > /dev/null 2>/dev/null & +${PROGRAM} ${SPLASHFILE} > /dev/null & if [ $? -eq 0 ]; then - echo " loaded" - kill `pidof ${PROGRAM}` > /dev/null 2> /dev/null + echo "loaded" else - echo " failed" + echo "failed" fi |