aboutsummaryrefslogtreecommitdiffstats
path: root/testing/frr/frr.pre-install
diff options
context:
space:
mode:
authorArthur Jones <arthur.jones@riverbed.com>2018-06-04 15:56:13 -0700
committerNatanael Copa <ncopa@alpinelinux.org>2018-07-31 12:27:51 +0000
commitd2ca939b7f712c6c0986669e9a132126b96ea375 (patch)
tree204eb96254cbfc547e64e2d53a3b1adc16b12079 /testing/frr/frr.pre-install
parent2d745609a9dc121e61cca3790f80d7800f2bef4c (diff)
downloadaports-d2ca939b7f712c6c0986669e9a132126b96ea375.tar.bz2
aports-d2ca939b7f712c6c0986669e9a132126b96ea375.tar.xz
testing/frr: new aport for free range routing, a fork of quagga
FRRouting is free software that implements and manages various IPv4 and IPv6 routing protocols. Currently FRRouting supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1, RIPv2, RIPng, IS-IS, PIM-SM/MSDP, LDP and Babel as well as very early support for EIGRP and NHRP. During PR review, fix for openrc-run issue discovered and fix contributed by Hidde Van der Heide. fixes #8795
Diffstat (limited to 'testing/frr/frr.pre-install')
-rwxr-xr-xtesting/frr/frr.pre-install10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/frr/frr.pre-install b/testing/frr/frr.pre-install
new file mode 100755
index 0000000000..2584eb7142
--- /dev/null
+++ b/testing/frr/frr.pre-install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+for g in frr frrvty; do
+ addgroup -S $g 2>/dev/null
+done
+
+adduser -S -D -H -h /var/run/frr -s /sbin/nologin -G frr -g frr frr 2>/dev/null
+adduser frr frrvty 2>/dev/null
+
+exit 0