summaryrefslogtreecommitdiffstats
path: root/abs/extra/monitorix/monitorix.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/monitorix/monitorix.install')
-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
-}