Skip to content

Commit

Permalink
anpassen auf ibutton-reader
Browse files Browse the repository at this point in the history
  • Loading branch information
penma committed Oct 27, 2012
1 parent f330e07 commit 2c69a9b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions 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
2 changes: 1 addition & 1 deletion ibutton.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2c69a9b

Please sign in to comment.