27 lines
338 B
Bash
Executable file
27 lines
338 B
Bash
Executable file
#!/bin/sh /etc/rc.common
|
|
|
|
START=70
|
|
STOP=10
|
|
|
|
export INET2_PREFIX=/usr/local
|
|
|
|
start() {
|
|
${INET2_PREFIX}/bin/inet2.sh start
|
|
/sbin/service bird start
|
|
}
|
|
|
|
stop() {
|
|
${INET2_PREFIX}/bin/inet2.sh stop
|
|
/sbin/service bird stop
|
|
}
|
|
|
|
restart() {
|
|
stop
|
|
start
|
|
}
|
|
|
|
reload() {
|
|
${INET2_PREFIX}/bin/inet2.sh reload
|
|
/sbin/service bird restart
|
|
}
|
|
|