blob: 0249cb36540ac12b8557479c1071862bd0ea7760 (
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 $@
|