Change how resetting works
This commit is contained in:
parent
8022781a8f
commit
af2192856a
12
Makefile
12
Makefile
@ -22,8 +22,12 @@ test:
|
||||
@rm -rf onionr/data
|
||||
@mv onionr/data-backup onionr/data | true > /dev/null 2>&1
|
||||
|
||||
reset:
|
||||
soft-reset:
|
||||
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
|
||||
rm -f onionr/data/address.db | true > /dev/null 2>&1
|
||||
rm -f onionr/data/*.db | true > /dev/null 2>&1
|
||||
|
||||
reset:
|
||||
@echo "Hard-resetting Onionr..."
|
||||
rm -rf onionr/data/ | true > /dev/null 2>&1
|
||||
@./RUN-LINUX.sh version | grep -v "Failed" --color=always
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user