Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 7d5a7f35df43a854889ae5f65b1a5133 > scriptlet

rpcbind-0.2.0-4.mga1.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

POSTTRANS

/bin/sh
# if we have apparmor installed, reload if it's being used
if [ -x /sbin/apparmor_parser ]; then
        /sbin/service apparmor condreload
fi