summaryrefslogtreecommitdiffstats
path: root/alpine/frr.pre-install
blob: da608cdcbd5be013754f2dffabf9f83042961029 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

for g in frr frrvty; do
	! getent group $g > /dev/null && addgroup -S $g
done

! getent passwd frr > /dev/null && \
	adduser -S -D -h /var/run/frr -s /sbin/nologin -G frr -g frr frr

adduser frr frrvty