Sophie

Sophie

distrib > PLD > ra > i686 > media > dist > by-pkgid > b7edfb85bcd8316209173b81cb7e323e > scriptlet

radiusd-cistron-1.6.6-1.i686.rpm

PREUN

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

POSTIN

/bin/sh
touch /var/log/radutmp /var/log/radwtmp
/sbin/chkconfig --add radius
if [ -f /var/lock/subsys/radius ]; then
	/etc/rc.d/init.d/radius restart >&2
else
	echo "Run \"/etc/rc.d/init.d/radius start\" to start radius daemon."
fi