summaryrefslogtreecommitdiffstats
path: root/security/ossec-hids-local-config/files/pkg-deinstall.in
blob: 0de19bfa22d7c188667d9dad2ef550ab6bfb5ee5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

ossec_home="%%OSSEC_HOME%%"
ossec_conf="${ossec_home}/etc/ossec.conf"
agent_conf="${ossec_home}/etc/shared/agent.conf"

if [ "$2" == "DEINSTALL"  ]; then
    rm -f "${ossec_conf}"
    rm -f "${agent_conf}"
fi