mirror of
https://github.com/openwrt/routing.git
synced 2025-02-23 11:36:14 +00:00
This renames the bird and bird-openwrt packages to bird1, to make it possible for bird2 (added in a subsequent commit) to coexist with it. The packages are renamed to bird1-ipv{4,6} to avoid the confusion of having packages named 'bird2', 'bird4' and 'bird6'. Also bump to v1.6.4 as that contains important bug fixes. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
27 lines
380 B
Bash
27 lines
380 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2010-2014 OpenWrt.org
|
|
|
|
BIRD="bird4"
|
|
|
|
START=99
|
|
STOP=10
|
|
|
|
SERVICE_DAEMONIZE=1
|
|
SERVICE_USE_PID=1
|
|
SERVICE_PID_FILE="/var/run/$BIRD.pid"
|
|
|
|
BIRD_BIN="/usr/sbin/$BIRD"
|
|
BIRD_CONF="/etc/$BIRD.conf"
|
|
|
|
start() {
|
|
service_start $BIRD_BIN -d -c $BIRD_CONF -P $SERVICE_PID_FILE
|
|
}
|
|
|
|
stop() {
|
|
service_stop $BIRD_BIN
|
|
}
|
|
|
|
reload() {
|
|
service_reload $BIRD_BIN
|
|
}
|