2009-06-11 Manuel Arostegui <marostegui@artica.es>

* linux/pandora_agent_installer: Changed the uninstall options
        cause if you had the agent in the same machine as the server and the
        agent is deleted, it would delete /etc/pandora/ (which includes
        pandora_server.conf) instead of just pandora_agent.conf.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1750 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
marostegui 2009-06-12 07:09:33 +00:00
parent c585a1755d
commit c588de94dc
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2009-06-11 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent_installer: Changed the uninstall options
cause if you had the agent in the same machine as the server and the
agent is deleted, it would delete /etc/pandora/ (which includes
pandora_server.conf) instead of just pandora_agent.conf.
2009-05-05 Evi Vanoost <vanooste@rcbi.rochester.edu>
* mac_osx/plugins/ipmi2xml/impi2xml.php,

View File

@ -15,6 +15,7 @@ PANDORA_CFG=/etc/pandora
PANDORA_LOG=/var/log/pandora/pandora_agent.log
PANDORA_STARTUP=/etc/init.d/pandora_agent_daemon
TENTACLE=/usr/bin/tentacle_client
PANDORA_CFG_FILE=/etc/pandora/pandora_agent.conf
FORCE=0
LOG_TIMESTAMP=`date +"%Y/%m/%d %H:%M:%S"`
@ -33,7 +34,7 @@ uninstall () {
echo "Removing Pandora FMS Agent..."
rm -Rf $PANDORA_BIN
rm -Rf $PANDORA_TEMP
rm -Rf $PANDORA_CFG
rm -Rf $PANDORA_CFG_FILE
rm -Rf $PANDORA_STARTUP
rm -Rf $PANDORA_HOME
rm -Rf $PANDORA_LOG