summaryrefslogtreecommitdiffstats
path: root/abs/extra/smartmontools/smartmontools.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-08-04 23:39:57 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-08-04 23:39:57 (GMT)
commit7044188f59aa79cf17d3835cc005da4c17aad9e2 (patch)
tree6d48184c45db51ecf44079760241efc80a3597ce /abs/extra/smartmontools/smartmontools.install
parentceefe4ae64d97bfd1e6c439ab58575d4c237da1f (diff)
parentc883928b0a74db7246bf280d2c6644ccb68f0a81 (diff)
downloadlinhes_pkgbuild-7044188f59aa79cf17d3835cc005da4c17aad9e2.zip
linhes_pkgbuild-7044188f59aa79cf17d3835cc005da4c17aad9e2.tar.gz
linhes_pkgbuild-7044188f59aa79cf17d3835cc005da4c17aad9e2.tar.bz2
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/smartmontools/smartmontools.install')
-rw-r--r--abs/extra/smartmontools/smartmontools.install24
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
+
+}