[root@fulgore:/home/linux/mandrake-devel/cooker/cooker/Mandrake/RPMS]# 
rpm -qp --scripts nscd-2.2.5-14mdk.i586.rpm
preinstall scriptlet (through /bin/sh):
/usr/share/rpm-helper/add-user glibc $1 nscd / /bin/false
postinstall scriptlet (through /bin/sh):
/sbin/chkconfig --add nscd
preuninstall scriptlet (through /bin/sh):
if [ $1 = 0 ] ; then
  /sbin/chkconfig --del nscd
fi
postuninstall scriptlet (through /bin/sh):
/usr/share/rpm-helper/del-user glibc $1 nscd

if [ "$1" -ge "1" ]; then
  /sbin/service nscd condrestart > /dev/null 2>&1 || :
fi
[root@fulgore:/home/linux/mandrake-devel/cooker/cooker/Mandrake/RPMS]# 
service nscd condrestart
Usage: /etc/init.d/nscd {start|stop|status|restart}
[root@fulgore:/home/linux/mandrake-devel/cooker/cooker/Mandrake/RPMS]#

-- 
Eugenio Diaz, BSEE/BSCE
Linux Engineer
[EMAIL PROTECTED]



Reply via email to