]> git.pld-linux.org Git - packages/bird.git/commitdiff
- obsoleted by bird-{ipv4,ipv6}.init
authorJacek Konieczny <jajcus@pld-linux.org>
Wed, 22 Sep 2004 12:24:01 +0000 (12:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bird.init -> 1.8

bird.init [deleted file]

diff --git a/bird.init b/bird.init
deleted file mode 100644 (file)
index 8e21bb8..0000000
--- a/bird.init
+++ /dev/null
@@ -1,73 +0,0 @@
-#!/bin/sh
-#
-# bird         Starts the Dynamic Route Daemon 
-#
-# chkconfig:   345 80 45
-#
-# description: Dynamic Route Daemon for IPv4 and IPv6 routers
-#
-# processname: bird
-# config:      /etc/bird.conf
-
-
-# Source function library
-. /etc/rc.d/init.d/functions
-
-# Get network config
-. /etc/sysconfig/network
-
-# Get service config
-[ -f /etc/sysconfig/bird ] && . /etc/sysconfig/zebra
-
-# Check that networking is up.
-if is_yes "${NETWORKING}"; then
-       if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
-               msg_network_down bird
-               exit 1
-       fi
-else
-       exit 0
-fi
-
-# Sanity checks.
-[ -f /etc/bird.conf ] || exit 0
-
-RETVAL=0
-# See how we were called.
-case "$1" in
-  start)
-       # Check if the services are already running?
-       if [ ! -f /var/lock/subsys/bird ]; then
-               msg_starting "bird"
-               daemon ${SERVICE_RUN_NICE_LEVEL} bird
-               RETVAL=$?
-               [ $RETVAL -eq 0 ] && touch /var/lock/subsys/bird
-       else
-               msg_already_running "bird"
-       fi
-       ;;
-  stop)
-       # Stop daemons.
-       if [ -f /var/lock/subsys/bird ]; then
-               msg_stopping "bird"
-               killproc bird
-               rm -f /var/lock/subsys/bird
-       else
-               msg_not_running "bird"
-       fi
-       ;;
-  status)
-       status bird
-       exit $?
-       ;;
-  restart|force-reload)
-       $0 stop
-       $0 start
-       exit $?
-       ;;
-  *)
-       msg_usage "$0 {start|stop|restart|force-reload|status}"
-       exit 3
-esac
-
-exit $RETVAL
This page took 0.083759 seconds and 4 git commands to generate.