]>
git.proxmox.com Git - mirror_frr.git/blob - redhat/ospf6d.init
4 # description: An OSPF routing engine for use with Zebra and IPv6
7 # config: /etc/zebra/ospf6d.conf
9 # source function library
10 .
/etc
/rc.d
/init.d
/functions
13 .
/etc
/sysconfig
/network
15 # Check that networking is up.
16 [ "${NETWORKING_IPV6}" = "no" ] && exit 0
18 # The process must be configured first.
19 [ -f /etc
/zebra
/ospf6d.conf
] ||
exit 0
26 echo -n $
"Starting $prog: "
27 daemon
/usr
/sbin
/ospf6d
-d
29 [ $RETVAL -eq 0 ] && touch /var
/lock
/subsys
/ospf6d
33 echo -n $
"Shutting down $prog: "
36 [ $RETVAL -eq 0 ] && rm -f /var
/lock
/subsys
/ospf6d
45 if [ -f /var
/lock
/subsys
/ospf6d
]; then
56 echo $
"Usage: $prog {start|stop|restart|reload|condrestart|status}"