Explorar el Código

[contrib] clean log files

mohab metwally hace 3 años
padre
commit
02f022f491
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      contrib/localnet/darkfid-five-nodes/clean.sh

+ 6 - 0
contrib/localnet/darkfid-five-nodes/clean.sh

@@ -1,2 +1,8 @@
 #!/bin/sh
 rm -rf darkfid0 darkfid1 darkfid2 darkfid3 darkfid4
+# clean log files
+rm /tmp/f_history.log  /tmp/lead_history.log &>/dev/null &
+touch /tmp/f_history.log
+touch /tmp/lead_history.log
+
+