aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cluster-glue/cluster-glue.pre-install
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2011-11-03 15:02:42 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2011-11-03 15:02:42 +0000
commitefd20b4ba26de55485f2e8c15b1d61ce8501ecc2 (patch)
tree22296b0d71d6eb39ba506848e946931dcc0afe23 /testing/cluster-glue/cluster-glue.pre-install
parentb758cfb575b2f9d7158040a9d72ec00086da0e7d (diff)
downloadaports-efd20b4ba26de55485f2e8c15b1d61ce8501ecc2.tar.bz2
aports-efd20b4ba26de55485f2e8c15b1d61ce8501ecc2.tar.xz
testing/cluster-glue: new aport
Diffstat (limited to 'testing/cluster-glue/cluster-glue.pre-install')
-rw-r--r--testing/cluster-glue/cluster-glue.pre-install11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/cluster-glue/cluster-glue.pre-install b/testing/cluster-glue/cluster-glue.pre-install
new file mode 100644
index 0000000000..4e7f2f5ba0
--- /dev/null
+++ b/testing/cluster-glue/cluster-glue.pre-install
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+addgroup haclient 2>/dev/null
+adduser hacluster \
+ -h /var/lib/heartbeat/cores/hacluster \
+ -G haclient \
+ -s /sbin/nologin \
+ 2>/dev/null
+
+exit 0
+