blob: 1d650946ff4dbad033784215651a49530a22e2af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
INITD=zebra
PROC=$INITD
apk_add $@
if ! [ test -e /etc/quagga ];
then mkdir -p /etc/quagga;
fi
touch /etc/quagga/zebra.conf
/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 $@
|