PREUN
/bin/sh
if [ $1 -eq 0 ]; then /sbin/service sgemaster stop /sbin/chkconfig --del sgemaster fi
POSTIN
/bin/sh
/sbin/chkconfig --add sgemaster
POSTUN
/bin/sh
if [ "$1" -ge "1" ]; then /sbin/service sgemaster condrestart >/dev/null 2>&1 || : fi