Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > ff8e570aefb9810608e61e44aeba6972 > scriptlet

syslog-ng-1.6.8-3mdk.x86_64.rpm

PREUN

/bin/sh
if [ "$1" -eq 0 ] ; then
	if [ -f /var/lock/subsys/syslog-ng ]; then
		/etc/rc.d/init.d/syslog-ng stop
	fi
	/sbin/chkconfig --del syslog-ng
fi

POSTIN

/bin/sh
if [ "$1" -eq 1 ]; then
	/sbin/chkconfig --add syslog-ng
	/sbin/chkconfig syslog-ng off
fi

POSTUN

/bin/sh
if [ "$1" -ge 1 ]; then
	/etc/rc.d/init.d/syslog-ng condrestart
fi