Revision 300e4008 misc/bird.init

View differences:

misc/bird.init
22 22
BIRD4="yes"
23 23
BIRD6="yes"
24 24

  
25
BIRD4ARGS=
26
BIRD6ARGS=
27

  
25 28
[ -f /etc/bird.conf ] || BIRD4="no"
26 29
[ -f /usr/sbin/bird ] || BIRD4="no"
27 30
[ "${NETWORKING}" = "yes" ] || BIRD4="no"
......
30 33
[ -f /usr/sbin/bird6 ] || BIRD6="no"
31 34
[ "${NETWORKING_IPV6}" = "yes" ] || BIRD6="no"
32 35

  
36
[ -e /etc/sysconfig/bird ] && . /etc/sysconfig/bird
37

  
33 38
RETVAL=0
34 39

  
35 40
# See how we were called.
......
38 43
	if [ "$BIRD4" = "yes" ]
39 44
	then
40 45
		echo -n "Starting BIRD for IPv4: "
41
		daemon bird
46
		daemon bird ${BIRD4ARGS}
42 47
		RETVAL=$?
43 48
		echo
44 49
		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/bird
......
46 51
	if [ "$BIRD6" = "yes" ]
47 52
	then
48 53
		echo -n "Starting BIRD for IPv6: "
49
		daemon bird6
54
		daemon bird6 ${BIRD6ARGS}
50 55
		RETVAL=$?
51 56
		echo
52 57
		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/bird6

Also available in: Unified diff