From 701475f791025cfb08e9b8cee35bb63ca772416f Mon Sep 17 00:00:00 2001 From: John Voltz Date: Thu, 24 Apr 2008 11:22:06 +0000 Subject: This patch renames the Atmel atstk1002 target board to a more generic atstk100x name. This to make it easier to add support for other CPU-boards than atstk1002. Submitted by Hans-Christian Egtvedt --- .../atstk100x/target_skeleton/etc/init.d/S99splash | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 target/device/Atmel/atstk100x/target_skeleton/etc/init.d/S99splash (limited to 'target/device/Atmel/atstk100x/target_skeleton/etc/init.d/S99splash') diff --git a/target/device/Atmel/atstk100x/target_skeleton/etc/init.d/S99splash b/target/device/Atmel/atstk100x/target_skeleton/etc/init.d/S99splash new file mode 100644 index 000000000..47001adb2 --- /dev/null +++ b/target/device/Atmel/atstk100x/target_skeleton/etc/init.d/S99splash @@ -0,0 +1,17 @@ +#!/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 -- cgit v1.2.3