From 6bde5bd7302d9eeca63d55c8b57a6c544e56fe8c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 8 Oct 2011 11:42:06 +0200 Subject: push pacemaker stuff in a usable state. --- package/pacemaker/files/pacemaker.postinst | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 package/pacemaker/files/pacemaker.postinst (limited to 'package/pacemaker/files/pacemaker.postinst') 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 -- cgit v1.2.3