better path for reset

This commit is contained in:
Maxime Desroches
2025-05-20 20:56:59 -07:00
parent f396d0eb1e
commit 58443faaa0
+1 -1
View File
@@ -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