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 $@