Sophie

Sophie

distrib > Mandriva > 8.1 > i586 > by-pkgid > 4c49a20c8aadbef5d39ee48aad90abee > scriptlet

ypbind-3.3-29mdk.i586.rpm

PREUN

/bin/sh

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

POSTIN

/bin/sh

if [ $1 = 1 ]; then 
  /sbin/chkconfig --add ypbind; 
else 
  if [ -f /var/lock/subsys/ypbind ]; then 
       service ypbind restart > /dev/null 2>/dev/null || : 
  fi 
fi