Sophie

Sophie

distrib > PLD > ra > i686 > media > dist > by-pkgid > 725bbeae8902330e636bd6637caa68af > scriptlet

icradius-0.17b-7.i686.rpm

PREUN

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

POSTIN

/bin/sh
touch /var/log/rad{u,w}tmp
/sbin/chkconfig --add radius
if [ -r /var/lock/subsys/radiusd ]; then
	/etc/rc.d/init.d/radius restart >&2
else
	echo "Run \"/etc/rc.d/init.d/radius start\" to start radius daemon."
	echo "Don't forget to read"
	echo "	/usr/share/doc/icradius-0.17b/QUICKSTART.txt.gz"
	echo "if you find problems with running daemon"
fi