Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

anpassen auf ibutton-reader

  • Loading branch information...
commit 2c69a9b76cf567c75b9740cc8aafa92d31232d76 1 parent f330e07
@penma penma authored
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
2  ibutton.c
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.