diff --git a/userspace/usr/comma/comma.sh b/userspace/usr/comma/comma.sh index 05c89c1..cfcaddb 100755 --- a/userspace/usr/comma/comma.sh +++ b/userspace/usr/comma/comma.sh @@ -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