Sophie

Sophie

distrib > Arklinux > devel > x86_64 > media > main > by-pkgid > 1eba2b4eb87fc2225e43fe32e502b07c > scriptlet

smartmontools-5.37-1ark.x86_64.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
  if [ -f /var/lock/subsys/smartd ]; then
    /sbin/service smartd stop 1>&2
  fi

  /sbin/chkconfig --del smartd
fi

POSTIN

/bin/sh
# if smartd is already running, restart it with the new daemon
if [ -f /var/lock/subsys/smartd ]; then
        /sbin/service smartd restart 1>&2
fi