diff options
author | James Meyer <james.meyer@operamail.com> | 2011-08-06 01:13:55 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2011-08-06 01:13:55 (GMT) |
commit | 12d025b342ea99681a2b9d830a153ced182daca1 (patch) | |
tree | d9943ed95e570c0706c6b5021b4570894877325a /abs/extra/smartmontools/smartmontools.install | |
parent | bcfb3dc1bd231f91914f917149164d41a2f3ce0a (diff) | |
parent | 9cc464bde03a97d6cbea14420b1b2ee32ca3ca00 (diff) | |
download | linhes_pkgbuild-12d025b342ea99681a2b9d830a153ced182daca1.zip linhes_pkgbuild-12d025b342ea99681a2b9d830a153ced182daca1.tar.gz linhes_pkgbuild-12d025b342ea99681a2b9d830a153ced182daca1.tar.bz2 |
Merge branch 'testing' of ssh://jams@linhes.org/mount/repository/linhes_pkgbuild into testing
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 + +} |