2009-10-30 13:20:00 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo Stop Pandora agent daemon
|
|
|
|
/etc/init.d/pandora_agent_daemon stop
|
|
|
|
|
|
|
|
PANDORA_CFG=/etc/pandora
|
|
|
|
|
|
|
|
rm -rf $PANDORA_CFG/plugins
|
|
|
|
rm -rf $PANDORA_CFG/pandora_agent.conf
|
|
|
|
|
|
|
|
INITLV=`cat /etc/inittab | grep "[0-9]\:initdefault" | cut -f 2 -d ":"`
|
2010-05-19 23:21:43 +02:00
|
|
|
rm /etc/rc$INITLV.d/S90pandora_agent_daemon
|