1
0
This repository has been archived on 2025-06-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openwrt_archive/net/bird/files/bird6.init
Nicolas Thill f25e0c77c1 packages/bird: use new service functions
SVN-Revision: 29079
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
}