2010-05-19 23:21:43 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo Stop Pandora agent daemon
|
|
|
|
/etc/init.d/pandora_agent_daemon stop
|
|
|
|
|
|
|
|
PANDORA_CFG=/etc/pandora
|
|
|
|
|
2010-06-01 15:11:02 +02:00
|
|
|
#rm -rf $PANDORA_CFG/plugins
|
|
|
|
#rm -rf $PANDORA_CFG/pandora_agent.conf
|
2010-05-19 23:21:43 +02:00
|
|
|
|
2016-04-24 00:35:03 +02:00
|
|
|
if [ -x `command -v systemctl` ]; then
|
|
|
|
systemctl disable pandora_agent_daemon
|
|
|
|
systemctl daemon-reload
|
|
|
|
else
|
|
|
|
update-rc.d -f pandora_agent_daemon remove
|
|
|
|
fi
|
2017-07-18 16:23:45 +02:00
|
|
|
exit 0
|