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