summaryrefslogtreecommitdiff
path: root/package/pacemaker/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-08 11:42:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-08 11:42:06 +0200
commit6bde5bd7302d9eeca63d55c8b57a6c544e56fe8c (patch)
tree6e81df59d768d51bbbff1e4f8de8c9ddfefa1213 /package/pacemaker/files
parentb35c2c31271fbaa05c5839133f623c84324e34b7 (diff)
push pacemaker stuff in a usable state.
Diffstat (limited to 'package/pacemaker/files')
-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