Explorar el Código

Remove tor notices

Bob Mottram hace 7 años
padre
commit
8fe06f8111
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      src/freedombone-logging

+ 1
- 0
src/freedombone-logging Ver fichero

199
     if [ -d /etc/tor ]; then
199
     if [ -d /etc/tor ]; then
200
         sed -i 's|#Log notice file.*|Log notice file /dev/null|g' /etc/tor/torrc
200
         sed -i 's|#Log notice file.*|Log notice file /dev/null|g' /etc/tor/torrc
201
         sed -i 's|Log notice file.*|Log notice file /dev/null|g' /etc/tor/torrc
201
         sed -i 's|Log notice file.*|Log notice file /dev/null|g' /etc/tor/torrc
202
+        rm /var/log/tor/*
202
     fi
203
     fi
203
     if [ -d /var/log/radicale ]; then
204
     if [ -d /var/log/radicale ]; then
204
         $REMOVE_FILES_COMMAND /var/log/radicale/*
205
         $REMOVE_FILES_COMMAND /var/log/radicale/*