diff options
Diffstat (limited to 'testing')
-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 000000000..b3dff4203 --- /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 000000000..cc2b529e9 --- /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 |