weg mit dem shit
[svn42.git] / old-door-deamon / add-card-to-database~
diff --git a/old-door-deamon/add-card-to-database~ b/old-door-deamon/add-card-to-database~
deleted file mode 100644 (file)
index d13bccf..0000000
+++ /dev/null
@@ -1,14 +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 | cut -b 0,48 >> card-database
-       fi
-done 
-       
-perl -ne s/[^0-9A-F]//g; $_ = substr($_,0,32); print "$_\n" card-database