summaryrefslogtreecommitdiff
path: root/recipes/opkg/files
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-04-17 18:43:53 +0200
committerKoen Kooi <koen@openembedded.org>2009-04-17 18:43:53 +0200
commit012465dda978446b0874a4c628d261b29f23b98c (patch)
treead1434eb0067ef47befbf278b3c1d628dec30171 /recipes/opkg/files
parentc838626c2b210596ad126944966b78b0c68ebf13 (diff)
opkg: only ping splash when splashfuncs are present
Diffstat (limited to 'recipes/opkg/files')
-rw-r--r--recipes/opkg/files/configure19
1 files changed, 12 insertions, 7 deletions
diff --git a/recipes/opkg/files/configure b/recipes/opkg/files/configure
index 1a8c3149b5..318ccb19c3 100644
--- a/recipes/opkg/files/configure
+++ b/recipes/opkg/files/configure
@@ -2,17 +2,22 @@
# get splash funcs
if [ -f /etc/default/splashfuncs ]; then
. /etc/default/splashfuncs
-fi
## tell boot status to "pulsate" really long busy cycle here
status_pulse || true
+fi
+
# run configure in bg
opkg-cl configure &
PID=$!
-# while configure still running loop
-while test -d /proc/$PID; do
-# tick to splash so it doesn't time out
- status_tick || true
- sleep 1
-done
+
+if [ -f /etc/default/splashfuncs ]; then
+ # while configure still running loop
+ while test -d /proc/$PID; do
+ # tick to splash so it doesn't time out
+ status_tick || true
+ sleep 1
+ done
+fi
+
# delete myself
rm -f /etc/rcS.d/S98configure