#!/bin/shcase$2in
POST-INSTALL)GROUP=realtime
GID=557PW=/usr/sbin/pw
if${PW} group show "${GROUP}"2>/dev/null;thenecho"You already have a group \"${GROUP}\", so I will use it."elseif${PW} groupadd ${GROUP} -g ${GID};thenecho"Added group \"${GROUP}\"."elseecho"Adding group \"${GROUP}\" failed..."exit1fifiexit0;;esac