Sophie

Sophie

distrib > Mageia > 6 > i586 > media > core-release > by-pkgid > 9a51bb887da0f910a2057c10593cb136 > scriptlet

rpcbind-0.2.3-9.mga6.i586.rpm

PREIN

/bin/sh
/usr/share/rpm-helper/add-user rpcbind $1 rpc /var/lib/rpcbind /sbin/nologin

PREUN

/bin/sh
/usr/share/rpm-helper/del-service rpcbind $1 rpcbind

POSTIN

/bin/sh
/usr/share/rpm-helper/add-service rpcbind $1 rpcbind 

# restart running services depending on portmapper
for service in amd autofs bootparamd clusternfs mcserv \
               nfs-common nfs-server \
               ypserv ypbind yppasswdd ypxfrd; do
    if [ -f /var/lock/subsys/$service ]; then
        /sbin/service $service restart > /dev/null 2>/dev/null || :
    fi
done