| # description: An OSPF routing engine for use with Zebra and IPv6 |
| # config: /etc/quagga/ospf6d.conf |
| # source function library |
| . /etc/rc.d/init.d/functions |
| # quagga command line options |
| # Check that networking is up. |
| [ "${NETWORKING_IPV6}" = "no" ] && exit 0 |
| # The process must be configured first. |
| [ -f /etc/quagga/ospf6d.conf ] || exit 0 |
| echo -n $"Starting $prog: " |
| daemon /usr/sbin/ospf6d -d $OSPF6D_OPTS |
| [ $RETVAL -eq 0 ] && touch /var/lock/subsys/ospf6d |
| echo -n $"Shutting down $prog: " |
| [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/ospf6d |
| if [ -f /var/lock/subsys/ospf6d ]; then |
| echo $"Usage: $prog {start|stop|restart|reload|condrestart|status}" |