diff --git a/Makefile b/Makefile index 193fbecf..a3abcc78 100644 --- a/Makefile +++ b/Makefile @@ -17,3 +17,10 @@ uninstall: test: @cd onionr; ./tests.py + +reset: + echo "RESETING ONIONR" + rm -f onionr/data/blocks/*.dat | true > /dev/null 2>&1 + rm -f onionr/data/peers.db | true > /dev/null 2>&1 + rm -f onionr/data/blocks.db | true > /dev/null 2>&1 + diff --git a/reset.sh b/reset.sh deleted file mode 100755 index eaf6641b..00000000 --- a/reset.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -echo "RESETING ONIONR" -rm onionr/data/blocks/*.dat -rm onionr/data/peers.db -rm onionr/data/blocks.db