diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-12-10 00:19:00 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-12-10 00:19:00 (GMT) |
commit | 5ab2c2d585290fb77dfc8d3670361df2fdc11c62 (patch) | |
tree | 58fc24f3a355bff701d6e93ba8011e9d1764f7b9 /abs/extra/monitorix | |
parent | 4592612b015ff899ef52f33d96b52b5c60587ebb (diff) | |
download | linhes_pkgbuild-5ab2c2d585290fb77dfc8d3670361df2fdc11c62.zip linhes_pkgbuild-5ab2c2d585290fb77dfc8d3670361df2fdc11c62.tar.gz linhes_pkgbuild-5ab2c2d585290fb77dfc8d3670361df2fdc11c62.tar.bz2 |
A whole lotta housekeeping
Diffstat (limited to 'abs/extra/monitorix')
-rw-r--r-- | abs/extra/monitorix/monitorix.install | 30 |
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 -} |