X-Git-Url: https://git.realraum.at/?p=svn42.git;a=blobdiff_plain;f=old-door-deamon%2Fadd-card-to-database;fp=old-door-deamon%2Fadd-card-to-database;h=0000000000000000000000000000000000000000;hp=1dea141521ddd8cc3f579fb15074402257c70842;hb=ef0255ffe0a390c49c6e2c3e41fb5312032a4f00;hpb=5f90a9da59975c3bf81efc461fcd13637e4e0e5d diff --git a/old-door-deamon/add-card-to-database b/old-door-deamon/add-card-to-database deleted file mode 100755 index 1dea141..0000000 --- a/old-door-deamon/add-card-to-database +++ /dev/null @@ -1,16 +0,0 @@ - -i=1 -while [ $i -gt 0 ]; do - opensc-tool --serial > /dev/null 2>&1 - i=$? - if [ $i -gt 0 ]; then - echo "Please insert card...." - sleep 5 - else - opensc-tool --serial | \ - perl -ne 's/[^0-9A-F]//g; $_ = substr($_,0,32); print "$_\n"' \ - >> card-database - fi -done - -