aboutsummaryrefslogtreecommitdiffstats
path: root/community/lldpd/lldpd.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/lldpd/lldpd.post-install')
-rw-r--r--community/lldpd/lldpd.post-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/community/lldpd/lldpd.post-install b/community/lldpd/lldpd.post-install
new file mode 100644
index 00000000000..06c2abb04e2
--- /dev/null
+++ b/community/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