13 lines
286 B
Bash
Executable File
13 lines
286 B
Bash
Executable File
#!/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
|