13 lines
293 B
Plaintext
13 lines
293 B
Plaintext
|
#!/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 ":"`
|
||
|
rm /etc/rc$INITLV.d/S90pandora_agent_daemon
|