mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-07-11 09:42:06 +08:00
reset --format is dead
This commit is contained in:
@@ -57,11 +57,7 @@ if [ ! -f /tmp/booted ]; then
|
||||
$RESET
|
||||
elif ! mountpoint -q /data; then
|
||||
echo "userdata not mounted. loading system reset"
|
||||
if [ "$(head -c 15 /dev/disk/by-partlabel/userdata)" == "COMMA_RESET" ]; then
|
||||
$RESET --format
|
||||
else
|
||||
$RESET --recover
|
||||
fi
|
||||
$RESET --recover
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user