#!/bin/sh

case "$1" in
  post)
    if /bin/systemctl --quiet is-active fancontrol.service; then
      /bin/systemctl restart fancontrol.service
    fi
    exit 0
    ;;
esac
