]> rtime.felk.cvut.cz Git - shark/motorek-5200.git/blobdiff - test
Position measurement works
[shark/motorek-5200.git] / test
diff --git a/test b/test
index fd5443c00ffb484d87024b5057d1255f6369cbc0..877bff3aa541b8beb3656ad48597eaeb1f471902 100755 (executable)
--- a/test
+++ b/test
@@ -12,7 +12,7 @@ rm /lib/modules/`uname -r`/*;
 cp /home/motorek.ko /lib/modules/`uname -r`;
 depmod;
 modprobe motorek;
-MDEV=`ls -d /sys/devices/motorek|head`
+MDEV=`ls -d /sys/devices/motorek.*|head`
 echo "echo 50 > $MDEV/action"
 echo 50 > $MDEV/action
 /bin/sh -l