aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lldpd/lldpd.post-install
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-08-25 07:50:33 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-08-25 07:50:41 +0000
commit13a6f233405d5a40e64140b1fb1deb96071f9cc6 (patch)
tree5c00805d4564f9ec06de76d7eaebf4923e39b48d /testing/lldpd/lldpd.post-install
parentc8f1eda1d4c58fe93cc08f1354344814cba98a91 (diff)
downloadaports-13a6f233405d5a40e64140b1fb1deb96071f9cc6.tar.bz2
aports-13a6f233405d5a40e64140b1fb1deb96071f9cc6.tar.xz
testing/lldpd: new aport
Diffstat (limited to 'testing/lldpd/lldpd.post-install')
-rw-r--r--testing/lldpd/lldpd.post-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/lldpd/lldpd.post-install b/testing/lldpd/lldpd.post-install
new file mode 100644
index 0000000000..06c2abb04e
--- /dev/null
+++ b/testing/lldpd/lldpd.post-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+addgroup -S lldpd 2>/dev/null
+adduser -S -D -h /run/lldpd -s /bin/false -G lldpd -g lldpd lldpd 2>/dev/null
+exit 0