updated init script
authorrealraum <realraum@realraum.at>
Wed, 27 May 2009 16:55:28 +0000 (16:55 +0000)
committerrealraum <realraum@realraum.at>
Wed, 27 May 2009 16:55:28 +0000 (16:55 +0000)
changed firmware target at Makefile

firmware/Makefile
tuer

index 9ff5f58..5f9b299 100755 (executable)
@@ -1,7 +1,7 @@
 ## see README file
 
 TARGET = tuer
-INSTALL_DIR = /flash/realraum/firmware/arduino
+INSTALL_DIR = /home/realraum/tuer_svn/firmware/arduino
 PORT = /dev/ttyUSB0
 UPLOAD_RATE = 19200
 AVRDUDE_PROGRAMMER = stk500v1
diff --git a/tuer b/tuer
index a6449a1..063e1ac 100755 (executable)
--- a/tuer
+++ b/tuer
@@ -38,6 +38,7 @@ stop)
        log_daemon_msg "Stopping door daemon" "checkcard"
         start-stop-daemon --stop --quiet --pidfile $PIDFILE2 -m --name checkcard.pl
         log_end_msg $? 
+       killall "mifare-read" 2>/dev/null
         ;;
 restart) 
        $0 stop