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