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