summaryrefslogtreecommitdiff
path: root/rhnop-client/debian/postinst
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-04-05 00:40:49 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-04-05 00:40:49 (GMT)
commit688222650cdfb2d08c5a132c470c14e384a1ee3e (patch)
tree732dc3f9a616993fc11a7872161dcc72682bcb65 /rhnop-client/debian/postinst
parent20d8bb7742942cd54d6ff143d0c65e957655d398 (diff)
added inital debian package
Diffstat (limited to 'rhnop-client/debian/postinst')
-rwxr-xr-xrhnop-client/debian/postinst9
1 files changed, 9 insertions, 0 deletions
diff --git a/rhnop-client/debian/postinst b/rhnop-client/debian/postinst
new file mode 100755
index 0000000..be17051
--- /dev/null
+++ b/rhnop-client/debian/postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+# postinst script for rhnop-client
+
+set -e
+
+if [ "$1" = "configure" ]; then
+ adduser --quiet --system --group --no-create-home --home /var/run/rhnop rhnop
+ chgrp rhnop /etc/rhnop/nopcollectd.*.conf
+fi