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