|
From: Heiko Z. <smi...@us...> - 2004-04-24 00:59:04
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22039/scripts/scripts Modified Files: bgpd ospf6d ospfd ripd ripngd Added Files: quagga Log Message: replaced zebra with quagga initial checkin of libdvdread, libdvdcss and vobcopy --- NEW FILE: quagga --- #!/bin/bash # # $Source: /cvsroot/devil-linux/build/scripts/scripts/quagga,v $ # $Revision: 1.2 $ # $Date: 2004/04/24 00:58:55 $ # # http://www.devil-linux.org # GNU Zebra routing manager ### BEGIN INIT INFO # Provides: quagga # Required-Start: $network $syslog # Required-Stop: $network $syslog # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Description: starts quagga ### END INIT INFO # settings source /etc/sysconfig/config # parameters NAME=quagga CONFIGNAME=QUAGGA DAEMON=/usr/sbin/zebra PARAMETER=-d # source function library source /etc/init.d/functions eval START=\$START_$CONFIGNAME # Determine the base and follow a runlevel link name. base=${0##*/} link=${base#*[SK][0-9][0-9]} # Force execution if not called by a runlevel directory. test $link = $base && START=yes test "$START" = "yes" || exit 0 if [ ! -e $DAEMON ]; then echo echo "$DAEMON not found. Did you install the package?" exit 1 fi case "$1" in start) echo -n "Starting $NAME: " loadproc $DAEMON $PARAMETER ;; stop) echo -n "Shutting down $NAME: " killproc $DAEMON ;; restart) $0 stop sleep 1 $0 start ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 esac Index: ripngd =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/ripngd,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- ripngd 11 Aug 2003 00:10:31 -0000 1.6 +++ ripngd 24 Apr 2004 00:58:55 -0000 1.7 @@ -9,8 +9,8 @@ ### BEGIN INIT INFO # Provides: ripngd -# Required-Start: $network $syslog zebra -# Required-Stop: $network $syslog zebra +# Required-Start: $network $syslog quagga +# Required-Stop: $network $syslog quagga # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Description: starts ripngd Index: bgpd =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/bgpd,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- bgpd 11 Aug 2003 00:10:30 -0000 1.6 +++ bgpd 24 Apr 2004 00:58:55 -0000 1.7 @@ -10,8 +10,8 @@ ### BEGIN INIT INFO # Provides: bgpd -# Required-Start: $network $syslog zebra -# Required-Stop: $network $syslog zebra +# Required-Start: $network $syslog quagga +# Required-Stop: $network $syslog quagga # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Description: starts bgpd Index: ospf6d =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/ospf6d,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- ospf6d 11 Aug 2003 00:10:31 -0000 1.6 +++ ospf6d 24 Apr 2004 00:58:55 -0000 1.7 @@ -10,8 +10,8 @@ ### BEGIN INIT INFO # Provides: ospf6d -# Required-Start: $network $syslog zebra -# Required-Stop: $network $syslog zebra +# Required-Start: $network $syslog quagga +# Required-Stop: $network $syslog quagga # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Description: starts ospf6d Index: ospfd =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/ospfd,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- ospfd 11 Aug 2003 00:10:31 -0000 1.6 +++ ospfd 24 Apr 2004 00:58:55 -0000 1.7 @@ -10,8 +10,8 @@ ### BEGIN INIT INFO # Provides: ospfd -# Required-Start: $network $syslog zebra -# Required-Stop: $network $syslog zebra +# Required-Start: $network $syslog quagga +# Required-Stop: $network $syslog quagga # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Description: starts ospfd Index: ripd =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/ripd,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- ripd 11 Aug 2003 00:10:31 -0000 1.6 +++ ripd 24 Apr 2004 00:58:55 -0000 1.7 @@ -9,8 +9,8 @@ ### BEGIN INIT INFO # Provides: ripd -# Required-Start: $network $syslog zebra -# Required-Stop: $network $syslog zebra +# Required-Start: $network $syslog quagga +# Required-Stop: $network $syslog quagga # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Description: starts ripd |