aports/testing/babeld/babeld.initd
Steven Honson f9149acaf8 testing/babeld: new aport
https://www.irif.fr/~jch/software/babel/
A loop-avoiding distance-vector routing protocol
2020-06-10 07:45:33 +00:00

18 lines
324 B
Plaintext

#!/sbin/openrc-run
command="/usr/bin/babeld"
pidfile="/run/${RC_SVCNAME}.pid"
command_args="-D -I $pidfile $ARGS"
depend() {
need net
after firewall
}
start_pre() {
if [ -z "$ARGS" ] && [ ! -s "/etc/babeld.conf" ]; then
echo "ERROR: No configuration found in /etc/conf.d/babeld or /etc/babeld.conf"
return 1
fi
}