Permalink
Browse files

anpassen auf ibutton-reader

  • Loading branch information...
penma committed Oct 27, 2012
1 parent f330e07 commit 2c69a9b76cf567c75b9740cc8aafa92d31232d76
Showing with 12 additions and 1 deletion.
  1. +11 −0 door
  2. +1 −1 ibutton.c
View
11 door
@@ -0,0 +1,11 @@
+#!/bin/sh
+while true; do
+ while read; do
+ if [ -e "whitelist/$REPLY" ]; then
+ echo open dat door
+ else
+ sleep 3
+ echo ROFLCOPTER GTFO
+ fi
+ done
+done
View
@@ -69,7 +69,7 @@ int try_open_ibutton(char *name) {
return -1;
}
- if (strcmp("Generic USB K/B", device_name)) {
+ if (strcmp("IBL IBL USB iButton reader", device_name)) {
verbose(warnx("device did not identify as ibutton reader (got: \"%s\")", device_name));
return -1;
}

0 comments on commit 2c69a9b

Please sign in to comment.