summaryrefslogtreecommitdiff
path: root/package/pacemaker/files/pacemaker.postinst
diff options
context:
space:
mode:
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