Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > a9da82fd7604d8f223f567a590f2ad87 > scriptlet

gexec-0.3.5-4mdk.i586.rpm

POSTIN

/bin/sh
CHECK_PORT=`grep 2875 /etc/services`
if [ -z "$CHECK_PORT" ]; then
cat >> /etc/services << EOF
# Port needed by gexecd"
gexec	2875/tcp       # Caltech gexec
EOF
fi 

if [ -f /var/run/xinetd.pid ]; then
	echo "Restarting xinetd service"
	service xinetd restart	
fi

POSTUN

/bin/sh
if [ -f /var/run/xinetd.pid ]; then
	echo "Restarting xinetd service"
	service xinetd restart	
fi