aboutsummaryrefslogtreecommitdiffstats
path: root/testing/netbox/netbox.pre-install
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2018-01-04 15:23:35 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-01-04 15:25:32 +0000
commitcd5dd02c13cbdb98e682c16184c4692086c12ffc (patch)
treee0f8c8ac7f3ea704d259e894542286e4179ceafe /testing/netbox/netbox.pre-install
parent86152549db024b35fe69353aa1da1cac8ea54558 (diff)
downloadaports-cd5dd02c13cbdb98e682c16184c4692086c12ffc.tar.bz2
aports-cd5dd02c13cbdb98e682c16184c4692086c12ffc.tar.xz
testing/netbox: new aport
IP address management (IPAM) and data center infrastructure management (DCIM) tool
Diffstat (limited to 'testing/netbox/netbox.pre-install')
-rwxr-xr-xtesting/netbox/netbox.pre-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/netbox/netbox.pre-install b/testing/netbox/netbox.pre-install
new file mode 100755
index 0000000000..22b96ba8be
--- /dev/null
+++ b/testing/netbox/netbox.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+addgroup -S netbox 2>/dev/null
+adduser -S -h /var/log/netbox -s /sbin/nologin -G netbox -D netbox 2>/dev/null
+exit 0