From: realraum Date: Wed, 27 May 2009 16:55:28 +0000 (+0000) Subject: updated init script X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=612479558c6a9be836c331c46e04b8f0b28fbabc;p=svn42.git updated init script changed firmware target at Makefile --- diff --git a/firmware/Makefile b/firmware/Makefile index 9ff5f58..5f9b299 100755 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -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 --- 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