PREIN
/bin/sh
grep '^bayonne:' /etc/passwd >/dev/null || /usr/sbin/adduser -r bayonne
PREUN
/bin/sh
/sbin/chkconfig --del bayonne if [ $1 = 0 ]; then service bayonne stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del bayonne; fi;
POSTIN
/bin/sh
/sbin/chkconfig --add bayonne if [ $1 = 1 ]; then /sbin/chkconfig --add bayonne; else if [ -f /var/lock/subsys/bayonne ]; then service bayonne restart > /dev/null 2>/dev/null || : ; fi; fi;