aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/opkg/files/configure
blob: 1a8c3149b536773bd41d6a430668e32330de952e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# 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
# 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
# delete myself
rm -f /etc/rcS.d/S98configure