packages/net/bird/files/bird6.init
nico 3da206df0a packages/bird: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 22:16:25 +00:00

22 lines
370 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2010-2011 OpenWrt.org
START=50
SERVICE_DAEMONIZE=1
SERVICE_WRITE_PID=1
start() {
service_start /usr/sbin/bird6 -d
# ( SERVICE_MATCH_NAME=1 service_start /usr/sbin/bird6loop )
}
stop() {
# ( SERVICE_MATCH_NAME=1 service_stop /usr/sbin/bird6loop )
service_stop /usr/sbin/bird6
}
reload() {
service_reload /usr/sbin/bird6
}