diff options
Diffstat (limited to 'abs/extra/smartmontools/smartmontools.install')
| -rw-r--r-- | abs/extra/smartmontools/smartmontools.install | 24 | 
1 files changed, 24 insertions, 0 deletions
| diff --git a/abs/extra/smartmontools/smartmontools.install b/abs/extra/smartmontools/smartmontools.install new file mode 100644 index 0000000..f2baacd --- /dev/null +++ b/abs/extra/smartmontools/smartmontools.install @@ -0,0 +1,24 @@ +#!/bin/bash + +post_install() { + +  echo "" +  echo "==> Configure your /etc/smart.conf config file and then" +  echo "==> $ sudo add_service.sh smartd" +  echo "==> to start the monitoring service." + +} + +post_upgrade() { + +  post_install + +} + +pre_remove() { + +  if [ -L /service/smartd ]; then +    remove_service.sh smartd +  fi + +} | 
