Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > c6bfbf320db4b3fecef02dcd151f119f > scriptlet

mars-nwe-0.99pl20-5mdk.i586.rpm

PREUN

/bin/sh

if [ $1 = 0 ]; then service mars-nwe stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del mars-nwe; fi;

POSTIN

/bin/sh
touch /var/log/mars_nwe.log
touch /var/run/mars_nwe.routes
if [ $1 = 1 ]; then /sbin/chkconfig --add mars-nwe; else if [ -f /var/lock/subsys/mars-nwe ]; then service mars-nwe restart > /dev/null 2>/dev/null || : ; fi; fi;

POSTUN

/bin/sh
touch /var/log/mars_nwe.log
touch /var/run/mars_nwe.routes