mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-28 15:31:37 +00:00
Improve drive format consistency by swapping driver prior to format
This commit is contained in:
parent
3cc4a1155d
commit
666835cd65
|
@ -78,6 +78,9 @@ proc createMyNodeFsOnBlockDevice {blockDevice} {
|
|||
}
|
||||
|
||||
if [catch {
|
||||
# Run USB check to make sure we are using a good driver
|
||||
runCommand /usr/bin/mynode_usb_driver_check.sh > /dev/null
|
||||
|
||||
puts "Waiting on format confirmation..."
|
||||
runCommand echo "drive_format_confirm" > /tmp/.mynode_status
|
||||
while { [file exists "/tmp/format_ok"] == 0 } {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -x
|
||||
|
||||
source /usr/share/mynode/mynode_config.sh
|
||||
source /usr/share/mynode/mynode_device_info.sh
|
||||
|
||||
# Allow UAS
|
||||
if [ -f /mnt/hdd/mynode/settings/.uas_usb_enabled ] || [ -f /home/bitcoin/.mynode/.uas_usb_enabled ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user