diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-05-20 06:27:58 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-05-20 10:03:47 +0000 |
commit | e5d2453c693989dbd855c76c192e57579b669ee4 (patch) | |
tree | 489491916ad5a7716bb22012e827854b703c931f /testing/openxcap | |
parent | c4d52845b0f31c48e8ac9328c8f73bedc4a05798 (diff) | |
download | aports-e5d2453c693989dbd855c76c192e57579b669ee4.tar.bz2 aports-e5d2453c693989dbd855c76c192e57579b669ee4.tar.xz |
testing/openxcap: pre,post scripts added
Diffstat (limited to 'testing/openxcap')
-rwxr-xr-x | testing/openxcap/openxcap.post-install | 5 | ||||
-rwxr-xr-x | testing/openxcap/openxcap.pre-install | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/testing/openxcap/openxcap.post-install b/testing/openxcap/openxcap.post-install new file mode 100755 index 0000000000..b3dff42032 --- /dev/null +++ b/testing/openxcap/openxcap.post-install @@ -0,0 +1,5 @@ +#!/bin/sh + +chown -R openxcap:openxcap /var/run/openxcap +chgrp openxcap /etc/openxcap/config.ini +exit 0 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 |