Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > adbb8f3f6242c358990c90334c761755 > scriptlet

bayonne-0.7.5-1mdk.i586.rpm

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;