PREUN
/bin/sh
if [ "$1" = "0" ] ; then /sbin/service smartd stop >/dev/null 2>&1 /sbin/chkconfig --del smartd fi
POSTIN
/bin/sh
/sbin/chkconfig --add smartd
/bin/sh
if [ "$1" = "0" ] ; then /sbin/service smartd stop >/dev/null 2>&1 /sbin/chkconfig --del smartd fi
/bin/sh
/sbin/chkconfig --add smartd