Pārlūkot izejas kodu

Remove tor notices

Bob Mottram 7 gadus atpakaļ
vecāks
revīzija
8fe06f8111
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      src/freedombone-logging

+ 1
- 0
src/freedombone-logging Parādīt failu

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/*