3 # chkconfig: 2345 16 84
4 # description: An OSPF routing engine for use with Zebra and IPv6
7 # config: /etc/quagga/ospf6d.conf
9 # source function library
10 .
/etc
/rc.d
/init.d
/functions
13 .
/etc
/sysconfig
/network
15 # quagga command line options
16 .
/etc
/sysconfig
/quagga
18 # Check that networking is up.
19 [ "${NETWORKING_IPV6}" = "no" ] && exit 0
21 # The process must be configured first.
22 [ -f /etc
/quagga
/ospf6d.conf
] ||
exit 0
29 echo -n $
"Starting $prog: "
30 daemon
/usr
/sbin
/ospf6d
-d $OSPF6D_OPTS
32 [ $RETVAL -eq 0 ] && touch /var
/lock
/subsys
/ospf6d
36 echo -n $
"Shutting down $prog: "
39 [ $RETVAL -eq 0 ] && rm -f /var
/lock
/subsys
/ospf6d
48 if [ -f /var
/lock
/subsys
/ospf6d
]; then
59 echo $
"Usage: $prog {start|stop|restart|reload|condrestart|status}"