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