2 echo '----------------------------------------------------------------------'
3 echo 'Consider having your rrd databases for monitorix reside in RAM.'
4 echo 'D/L and build the monitorix-tmpfs package from the AUR:'
6 echo ' http://aur.archlinux.org/packages.php?ID=34134'
7 echo '----------------------------------------------------------------------'
11 echo '----------------------------------------------------------------------'
12 echo 'To remove all traces of monitorix from your system, you must manually'
13 echo 'remove the following dir trees (doing so will delete your databases):'
15 echo 'rm -rf /var/lib/monitorix /srv/http/monitorix /var/log/monitorix'
16 echo '----------------------------------------------------------------------'
19 # $1: The new package version
20 # $2: The old package version
23 NEW=`echo $1 | cut -f-1 -d '-'`
24 OLD=`echo $2 | cut -f-1 -d '-'`
26 # if running the 1.5.2 series then display warning message
28 if [ "$OLD" = "1.5.2" ]; then
29 echo '----------------------------------------------------------------------'
32 echo 'With this upgrade you MUST replace your current version of'
33 echo '/etc/monitorix.conf with /etc/monitorix.conf.pacnew which contains new'
34 echo 'configs needed by the 2.0.0 release of monitorix.'
36 echo 'Also, the author of this software recommends that you delete ALL your'
37 echo '1.5.2 databases as well!'
39 echo 'Manually: rm -f /var/lib/monitorix/*.rrd'
41 echo 'Restart monitorix when you have completed the edit:'
42 echo '# /etc/rc.d/monitorix restart'
43 echo '----------------------------------------------------------------------'
46 echo '------------------------------------------------------------------------'
49 echo 'You MUST compare your existing /etc/monitorix.conf to the one provided'
50 echo 'by this package or else new features will not work and you risk breakage'
51 echo 'of the software in general!'
53 echo ' WARNING WARNING:'
55 echo 'Do NOT change two key vars in this file:'
56 echo '$BASE_DIR and $BASE_CGI'
58 echo ' TIP FOR NEWBIES:'
60 echo 'For users who have not used diff utilities before, vimdiff (part of the'
61 echo 'vim package in [extra]) is an excellent util for this purpose. See the'
62 echo 'following URL for a quick tutorial of vimdiff:'
64 echo 'http://amjith.blogspot.com/2008/08/quick-and-dirty-vimdiff-tutorial.html'
65 echo '------------------------------------------------------------------------'