Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 57b08371cc238dd8b7aba52c38910361 > scriptlet

logtrend-ftpagent-0.82.2-1mdk.noarch.rpm

PREUN

/bin/sh
if [ $1 = 0 ]; then service FtpAgent stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del FtpAgent; fi; 
if [ $1 -eq 0 ]
then 
   [ -f /etc/rc.d/init.d/FtpAgent ] && \
   	/etc/rc.d/init.d/FtpAgent stop
fi

POSTIN

/bin/sh
if [ $1 = 1 ]; then /sbin/chkconfig --add FtpAgent; else if [ -f /var/lock/subsys/FtpAgent ]; then service FtpAgent restart > /dev/null 2>/dev/null || : ; fi; fi; 
if [ $1 -gt 1 ]
then
   [ -f /etc/rc.d/init.d/FtpAgent ] && \
   	/etc/rc.d/init.d/FtpAgent restart
fi