1#!/bin/sh /etc/rc.common 2# chkconfig: - 16 84 3# description: A RIP routing engine for use with Zebra and IPv6 4# 5# processname: ripngd 6# config: /etc/ripngd.conf 7 8#START=23 9 10start() { 11 local retval 12 echo -n "Starting ripngd: " 13 /usr/sbin/ripngd -d -f /etc/ripngd.conf 14 retval=$? 15 [ $retval -eq 0 ] && touch /tmp/ripngd 16 echo 17} 18 19stop() { 20 local retval 21 echo -n "Shutting down ripngd: " 22 killall ripngd 23 retval=$? 24 [ $retval -eq 0 ] && rm -f /tmp/ripngd 25} 26