diff --git a/install/rm.sh b/install/rm.sh index 5d94cad..9ee924f 100644 --- a/install/rm.sh +++ b/install/rm.sh @@ -223,4 +223,47 @@ then #echo "found file" fi +if [ -d "/var/log/FreeDMR" ] +then + sudo rm -r /var/log/FreeDMR + #echo "found file" + +fi +if [ -d "/var/log/mmdvmh" ] +then + sudo rm -r /var/log/mmdvmh + #echo "found file" + +fi +if [ -d "/var/log/ircddbgateway" ] +then + sudo rm -r /var/log/ircddbgateway + #echo "found file" + +fi +if [ -f "/var/log/fail2ban.*" ] +then + sudo rm /var/log/fail2ban* + #echo "found file" +else + echo "file not found" +fi +if [ -f "/var/log/monit.log" ] +then + sudo rm /var/log/monit.log + #echo "found file" +else + echo "file not found" +fi +if [ -d "/var/log/apache2" ] +then + sudo rm -r /var/log/apache2 + #echo "found file" + +fi +if ls /var/log/*.1 &>/dev/null; then + sudo rm /var/log/*.1* + #echo "found file" +fi + ##############