2010-04-10 18:33:04 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2011-11-13 22:16:25 +00:00
|
|
|
# Copyright (C) 2010-2011 OpenWrt.org
|
2010-04-10 18:33:04 +00:00
|
|
|
|
|
|
|
START=50
|
|
|
|
|
2011-11-13 22:16:25 +00:00
|
|
|
SERVICE_DAEMONIZE=1
|
|
|
|
SERVICE_WRITE_PID=1
|
2010-04-10 18:33:04 +00:00
|
|
|
|
|
|
|
start() {
|
2011-11-13 22:16:25 +00:00
|
|
|
service_start /usr/sbin/bird6 -d
|
|
|
|
# ( SERVICE_MATCH_NAME=1 service_start /usr/sbin/bird6loop )
|
2010-04-10 18:33:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
2011-11-13 22:16:25 +00:00
|
|
|
# ( SERVICE_MATCH_NAME=1 service_stop /usr/sbin/bird6loop )
|
|
|
|
service_stop /usr/sbin/bird6
|
2010-04-10 18:33:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
reload() {
|
2011-11-13 22:16:25 +00:00
|
|
|
service_reload /usr/sbin/bird6
|
2010-04-10 18:33:04 +00:00
|
|
|
}
|