aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/opkg/files/configure
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/opkg/files/configure')
-rw-r--r--recipes/opkg/files/configure10
1 files changed, 6 insertions, 4 deletions
diff --git a/recipes/opkg/files/configure b/recipes/opkg/files/configure
index 318ccb19c3..d5dd74dbf3 100644
--- a/recipes/opkg/files/configure
+++ b/recipes/opkg/files/configure
@@ -7,16 +7,18 @@ status_pulse || true
fi
# run configure in bg
-opkg-cl configure &
-PID=$!
-
-if [ -f /etc/default/splashfuncs ]; then
+if [ -f /etc/default/splashfuncs ]; then
+ 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
+else
+ opkg-cl configure
fi
# delete myself