diff options
author | Marcin Juszkiewicz <marcin@buglabs.net> | 2009-05-16 11:15:35 +0200 |
---|---|---|
committer | Marcin Juszkiewicz <marcin@buglabs.net> | 2009-05-16 11:18:03 +0200 |
commit | 039cc994ff1401acc643b10adf2cba4be75f3d86 (patch) | |
tree | 1a8437a9ec51f302f65ea819e0ff47114d8f6951 /recipes/fbprogress/fbprogress | |
parent | 3dd84182dd989ba809bd6cb22d9385d93803b9cc (diff) | |
download | openembedded-039cc994ff1401acc643b10adf2cba4be75f3d86.tar.gz |
fbprogress: BUG only tool to show boot progress on built-in monochrome LCD
Diffstat (limited to 'recipes/fbprogress/fbprogress')
-rwxr-xr-x | recipes/fbprogress/fbprogress/fbprogress-init | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/fbprogress/fbprogress/fbprogress-init b/recipes/fbprogress/fbprogress/fbprogress-init new file mode 100755 index 0000000000..c1dd3787b1 --- /dev/null +++ b/recipes/fbprogress/fbprogress/fbprogress-init @@ -0,0 +1,34 @@ +#!/bin/sh + +. /etc/init.d/functions + +case "$1" in + start) + # We don't want this script to block the rest of the boot process + if [ "$2" != "background" ]; then + $0 $1 background & + else + . /etc/profile + + echo "Starting FBProgress" + fbprogress.sh & + fi + ;; + + stop) + echo "Stopping FBProgress" + killproc fbprogress.sh + ;; + + restart) + $0 stop + sleep 1 + $0 start + ;; + + *) + echo "usage: $0 { start | stop | restart }" + ;; +esac + +exit 0 |