Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (12 sloc) 0.347 kB
#!/bin/sh
# ibutton.c may die e.g. in case of USB resets. It is recommended to use
# monitoring / a cronjob to restart ./ibutton | ./door if one of them is no
# longer running
while read REPLY; do
if [ -f "/root/authorized_ibuttons/$REPLY" ]; then
/usr/local/bin/opendoor.py
else
sleep 3
echo "$REPLY" > /tmp/last_failed_ibutton
fi
done
Jump to Line
Something went wrong with that request. Please try again.