Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > c06db3956c9ca20c795abdfe6d894743 > scriptlet

mars_nwe-0.99.pl20-12.amd64.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	if [ -f /var/lock/subsys/nwserv ]; then
		/etc/rc.d/init.d/nwserv stop 1>&2
	fi
	/sbin/chkconfig --del nwserv
fi

POSTIN

/bin/sh
/sbin/chkconfig --add nwserv
if [ -f /var/lock/subsys/nwserv ]; then
	/etc/rc.d/init.d/nwserv restart 1>&2
else
	echo "Run \"/etc/rc.d/init.d/nwserv start\" to start MARS NetWare daemon."
fi