3 # zebra is the head of the quagga routing beast
9 PATH=/sbin:/bin:/usr/sbin:/usr/bin:@prefix@/sbin:@prefix@/bin
12 if [ -f /etc/rc.subr ]
19 required_files="@sysconfdir@/${name}.conf"
20 command="@prefix@/sbin/${name}"
23 start_precmd="zebra_precmd"
24 stop_postcmd="zebra_postcmd"
25 socket_dir=@localstatedir@
26 pidfile="${socket_dir}/${name}.pid"
30 mkdir -p "${socket_dir}"
31 chown quagga.quagga "${socket_dir}"
32 chmod 750 "${socket_dir}"
35 while [ $# -ne 0 ]; do
36 if [ X"$1" = X-P -o X"$1" = X-A ]; then
49 if [ -d "${socketdir}" ]; then