Sophie

Sophie

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

X11-xdm-6.9.0-19.amd64.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	/sbin/chkconfig --del xdm
	{
if [ -f /var/lock/subsys/xdm ]; then
/sbin/service xdm stop 1>&2 || :;
fi };fi

POSTIN

/bin/sh
/sbin/chkconfig --add xdm
if [ -f /var/lock/subsys/xdm ]; then
	echo "Run \"/sbin/service xdm restart\" to restart xdm." >&2
	echo "WARNING: it will terminate all sessions opened from xdm!" >&2
else
	echo "Run \"/sbin/service xdm start\" to start xdm." >&2
fi