diff options
author | Michael Hanson <hansonorders@verizon.net> | 2011-08-04 23:36:19 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2011-08-04 23:36:19 (GMT) |
commit | 4bc7b0f67aa62aa9455b940cb7ec14661be98193 (patch) | |
tree | 18a2a5232f3a47b4774c6a9222a896ff8062d90c /abs/extra/smartmontools/smartmontools.install | |
parent | 0c83ce8883d7c353049974197679731e33b410f2 (diff) | |
download | linhes_pkgbuild-4bc7b0f67aa62aa9455b940cb7ec14661be98193.zip linhes_pkgbuild-4bc7b0f67aa62aa9455b940cb7ec14661be98193.tar.gz linhes_pkgbuild-4bc7b0f67aa62aa9455b940cb7ec14661be98193.tar.bz2 |
smartmontools: update to 5.41
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 + +} |