summaryrefslogtreecommitdiff
path: root/package/pacemaker/files/pacemaker.postinst
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-11 06:21:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-11 06:21:12 +0200
commitceedf010c914556ebe7eb3211b7b43ccd5deb39f (patch)
tree92f0bcfabc0193abdbc3b86d7992b2bc60adfeb3 /package/pacemaker/files/pacemaker.postinst
parenta373c925622077caa35eb97ab85965e52d7e832d (diff)
parenta1eafbfc0077cd7074961e635ca2387ada7da440 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/pacemaker/files/pacemaker.postinst')
-rw-r--r--package/pacemaker/files/pacemaker.postinst8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/pacemaker/files/pacemaker.postinst b/package/pacemaker/files/pacemaker.postinst
new file mode 100644
index 000000000..acda216de
--- /dev/null
+++ b/package/pacemaker/files/pacemaker.postinst
@@ -0,0 +1,8 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+
+gid=$(get_next_gid)
+gid2=$(get_next_gid)
+add_user hacluster $(get_next_uid) $gid /tmp
+add_group hacluster $gid
+add_group haclient $gid2