aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openxcap/openxcap.pre-install
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2010-05-20 06:27:58 +0000
committerLeonardo Arena <rnalrd@gmail.com>2010-05-20 10:03:47 +0000
commite5d2453c693989dbd855c76c192e57579b669ee4 (patch)
tree489491916ad5a7716bb22012e827854b703c931f /testing/openxcap/openxcap.pre-install
parentc4d52845b0f31c48e8ac9328c8f73bedc4a05798 (diff)
downloadaports-e5d2453c693989dbd855c76c192e57579b669ee4.tar.gz
aports-e5d2453c693989dbd855c76c192e57579b669ee4.tar.bz2
aports-e5d2453c693989dbd855c76c192e57579b669ee4.tar.xz
testing/openxcap: pre,post scripts added
Diffstat (limited to 'testing/openxcap/openxcap.pre-install')
-rwxr-xr-xtesting/openxcap/openxcap.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/openxcap/openxcap.pre-install b/testing/openxcap/openxcap.pre-install
new file mode 100755
index 0000000000..cc2b529e93
--- /dev/null
+++ b/testing/openxcap/openxcap.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup openxcap 2>/dev/null
+adduser -G openxcap -h /var/run/openxcap -s /bin/false -S -D -H openxcap 2>/dev/null
+exit 0