summaryrefslogtreecommitdiffstats
path: root/abs/extra/smartmontools/smartmontools.install
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2011-08-04 23:36:19 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2011-08-04 23:36:19 (GMT)
commit4bc7b0f67aa62aa9455b940cb7ec14661be98193 (patch)
tree18a2a5232f3a47b4774c6a9222a896ff8062d90c /abs/extra/smartmontools/smartmontools.install
parent0c83ce8883d7c353049974197679731e33b410f2 (diff)
downloadlinhes_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.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
+
+}