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