PREUN
/bin/sh
if [ "$1" = 0 ]; then # Remove sa logs if removing sysstat completely rm -f /var/log/sa/* # Remove service /sbin/chkconfig --del sysstat fi
POSTIN
/bin/sh
/sbin/chkconfig --add sysstat
/bin/sh
if [ "$1" = 0 ]; then # Remove sa logs if removing sysstat completely rm -f /var/log/sa/* # Remove service /sbin/chkconfig --del sysstat fi
/bin/sh
/sbin/chkconfig --add sysstat