mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-12 00:19:15 +00:00
Clear more settings during factory reset
This commit is contained in:
parent
e3bcca6592
commit
3e56746058
|
@ -67,6 +67,11 @@ def factory_reset():
|
|||
# Trigger drive to be reformatted on reboot
|
||||
os.system("rm -f /mnt/hdd/.mynode")
|
||||
|
||||
# Delete settings files on SD card
|
||||
os.system("rm -f /home/bitcoin/.mynode/.btc_lnd_tor_enabled_defaulted")
|
||||
os.system("rm -f /home/bitcoin/.mynode/.product_key")
|
||||
os.system("rm -f /home/bitcoin/.mynode/ui.json")
|
||||
|
||||
# Reset password
|
||||
os.system("/usr/bin/mynode_chpasswd.sh bolt")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user