mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-07-10 01:02:08 +08:00
better path for reset
This commit is contained in:
@@ -52,7 +52,7 @@ if [ ! -f /tmp/booted ]; then
|
||||
echo "launching system reset, reset trigger present"
|
||||
rm -f $RESET_TRIGGER
|
||||
$RESET
|
||||
elif (( "$(cat /sys/devices/platform/soc/894000.i2c/i2c-2/2-0017/touch_count)" > 4 )); then
|
||||
elif (( "$(cat /sys/class/input/input2/device/touch_count)" > 4 )); then
|
||||
echo "launching system reset, got taps"
|
||||
$RESET
|
||||
elif ! mountpoint -q /data; then
|
||||
|
||||
Reference in New Issue
Block a user