Add babeld
This commit is contained in:
parent
e0b3da5e87
commit
710a8d6b17
|
@ -0,0 +1,11 @@
|
|||
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||
_svcname=babeld
|
||||
|
||||
. ../APKBUILD-config.common
|
||||
|
||||
pkgver=2021.02.08
|
||||
pkgrel=2
|
||||
source="redxen.conf"
|
||||
|
||||
sha512sums="b31874d44cec3458f6e88e399bf6c06a3c298937d0568860c08e23881af94132c41b424356a33c2a3bbb7a2c5c2675b4a528b140b4974a5b63214618d41c0cce redxen.conf"
|
|
@ -0,0 +1,14 @@
|
|||
diversity true
|
||||
interface crxn0 enable-timestamps true link-quality true
|
||||
|
||||
#
|
||||
# Redistributions
|
||||
#
|
||||
|
||||
redistribute local deny
|
||||
|
||||
# Redistribute all CRXN (IPv6 - fd00/8)
|
||||
redistribute ip fd00::/8 ge 8
|
||||
|
||||
# Redistribute Freeloaders CRXN
|
||||
redistribute ip 2a04:5b81:2050::/44 ge 44
|
|
@ -0,0 +1,12 @@
|
|||
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||
_svcname=babeld
|
||||
_grpname=network
|
||||
|
||||
. ../APKBUILD-openrc.common
|
||||
|
||||
pkgver=2021.02.08
|
||||
pkgrel=0
|
||||
|
||||
sha512sums="3a77457b76f95a75e33d40f59dd32f464e834d207200cf3e84b82fe78dde74156fb642daaab8bb92fa6bed96ca48d1d0dd41983efcde87ac0e3fcfe5aa7eea25 runfile
|
||||
fd128c27307877871989e026c382cb0c1d486d30f7b4928616bde1cbabe24ab4fc3aa83f33dbe42f2321318807c8d9f913b1fea089c1a38f3a3200214682b9b8 conffile"
|
|
@ -0,0 +1,5 @@
|
|||
BABELD_CONF="/etc/babeld/redxen.conf"
|
||||
depend() {
|
||||
need net
|
||||
after firewall syslog yggdrasil.redxen fastd.crxnrouter.redxen fastd.crxnclient.redxen
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
#!/sbin/openrc-run
|
||||
|
||||
: ${BABELD_CONF:=/etc/babeld.conf}
|
||||
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
command=/usr/bin/babeld
|
||||
: ${command_args:=-r -I $pidfile -D -c ${BABELD_CONF}}
|
Loading…
Reference in New Issue