Package rpcbind: Скрипты

Post install

/usr/sbin/groupadd -r -f rpc
/usr/sbin/useradd -r -g rpc -d / -s /dev/null -c 'Portmapper RPC user' -n rpc >/dev/null 2>&1 ||:

if [ $1 -ge 2 ]; then 
	/usr/sbin/control-restore rpcbind 
else 
	for facility in rpcbind; do 
		/usr/sbin/control "$facility" local 
	done 
fi 

/usr/sbin/post_service rpcbind
Pre install

1
2
3
if [ $1 -ge 2 ]; then 
	/usr/sbin/control-dump rpcbind 
fi
Pre uninstall

/usr/sbin/preun_service rpcbind