freyanet/deployments/initd/inet2.initd

28 lines
338 B
Text
Raw Normal View History

2024-08-23 15:51:21 +00:00
#!/bin/sh /etc/rc.common
START=70
STOP=10
2024-11-17 04:01:08 +00:00
export INET2_PREFIX=/usr/local
2024-08-23 15:51:21 +00:00
start() {
2024-11-17 04:01:08 +00:00
${INET2_PREFIX}/bin/inet2.sh start
2024-08-23 15:51:21 +00:00
/sbin/service bird start
}
stop() {
2024-11-17 04:01:08 +00:00
${INET2_PREFIX}/bin/inet2.sh stop
2024-08-23 15:51:21 +00:00
/sbin/service bird stop
}
restart() {
stop
start
}
reload() {
2024-11-17 04:01:08 +00:00
${INET2_PREFIX}/bin/inet2.sh reload
2024-08-23 15:51:21 +00:00
/sbin/service bird restart
}