3 # bird Starts the Dynamic Route Daemon
7 # description: Dynamic Route Daemon for IPv4 and IPv6 routers
10 # config: /etc/bird.conf
13 # Source function library
14 . /etc/rc.d/init.d/functions
17 . /etc/sysconfig/network
20 [ -f /etc/sysconfig/bird ] && . /etc/sysconfig/zebra
22 # Check that networking is up.
23 if is_no "${NETWORKING}"; then
29 [ -f /etc/bird.conf ] || exit 0
32 # See how we were called.
35 # Check if the services are already running?
36 if [ ! -f /var/lock/subsys/bird ]; then
38 daemon ${SERVICE_RUN_NICE_LEVEL} bird
39 touch /var/lock/subsys/bird
41 msg_Already_Running "bird"
46 if [ -f /var/lock/subsys/bird ]; then
49 rm -f /var/lock/subsys/bird
51 msg_Not_Running "bird"
62 msg_Usage "$0 {start|stop|status|restart|reload}"