summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-04-09 01:42:00 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-04-09 01:42:00 +0200
commit5e060ec5e843eb8a5e56da145d1a0214687777a5 (patch)
treee59a7826302df05ac109d8e30663009da9c8cc2f /debian
parentMerge branch 'cmaster' of ssh://stash.cumulusnetworks.com:7999/quag/quagga in... (diff)
downloadfrr-5e060ec5e843eb8a5e56da145d1a0214687777a5.tar.xz
frr-5e060ec5e843eb8a5e56da145d1a0214687777a5.zip
debian: Modify preinst to add quagga user to quaggavty group
The quagga user was not being added to the quaggavty group. Modify the user creation to add this step. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'debian')
-rw-r--r--debian/quagga.preinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/quagga.preinst b/debian/quagga.preinst
index 14a6d6c78..39448b2f6 100644
--- a/debian/quagga.preinst
+++ b/debian/quagga.preinst
@@ -24,6 +24,7 @@ if ! getent passwd quagga >/dev/null; then
--gecos "Quagga routing suite" \
--shell /bin/false \
quagga >/dev/null
+ usermod -a -G quaggavty quagga >/dev/null
fi
# Do not change permissions when upgrading as it would violate policy.