blob: f72604f1c8ec485884225085325a14a5d80e2a2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
INITD=$@
PROC=$INITD
apk_add $@
/etc/init.d/$INITD start
sleep 1
pidof $PROC
/etc/init.d/$INITD stop
while pidof $PROC; do\
echo -n "." >/dev/tty;\
sleep 1;\
done
apk_del $@
|