summaryrefslogtreecommitdiffstats
path: root/abs/extra/monitorix
diff options
context:
space:
mode:
authorJames Meyer <jams@linhes.org>2010-12-10 01:32:23 (GMT)
committerJames Meyer <jams@linhes.org>2010-12-10 01:32:23 (GMT)
commit5c40bb464357d486339e90f4118e4adaa8989e09 (patch)
tree8b5f680e7867c24eb5f3d1347eef9ea19c92beeb /abs/extra/monitorix
parentf9b90df04a227fb2607482bed9a2f56678d95d30 (diff)
parent59771e9d114b75eafb316e94b7612dda202edd83 (diff)
downloadlinhes_pkgbuild-5c40bb464357d486339e90f4118e4adaa8989e09.zip
linhes_pkgbuild-5c40bb464357d486339e90f4118e4adaa8989e09.tar.gz
linhes_pkgbuild-5c40bb464357d486339e90f4118e4adaa8989e09.tar.bz2
Merge branch 'testing' of ssh://linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/monitorix')
-rw-r--r--abs/extra/monitorix/monitorix.install30
1 files changed, 0 insertions, 30 deletions
diff --git a/abs/extra/monitorix/monitorix.install b/abs/extra/monitorix/monitorix.install
deleted file mode 100644
index 6c1d1bd..0000000
--- a/abs/extra/monitorix/monitorix.install
+++ /dev/null
@@ -1,30 +0,0 @@
-remove_notes() {
- echo '----------------------------------------------------------------------'
- echo 'To remove all traces of monitorix from your system, you must manually'
- echo 'remove the following dir trees (doing so will delete your databases):'
- echo
- echo '/var/lib/monitorix'
- echo '/srv/http/monitorix'
- echo '----------------------------------------------------------------------'
-}
-
-# $1: The new package version
-# $2: The old package version
-post_upgrade() {
- echo ''
- echo ''
- echo 'now edit /etc/monitorix.conf'
- echo ' our $HOSTNAME - your hostname.'
- echo ' our $ENABLE_LMTEMP - switch this on if you wanna log your temps.'
- echo ' our @HDDTEMP_LIST - If you system has more than one hdd, add it to the array.'
- echo ' stats can be seen at http://$THIS_SYSTEMS_IP/monitorix/'
-
- echo ''
- echo ''
-}
-
-post_install(){
- . /etc/systemconfig
- sed -i "s/^our \$HOSTNAME.*$/our \$HOSTNAME = \"${hostname}\"\; /" /etc/monitorix.conf|
- post_upgrade
-}