diff options
Diffstat (limited to 'recipes/opkg/files/configure')
-rw-r--r-- | recipes/opkg/files/configure | 19 |
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 |