From d770d11054ab55665206b652a4cd5cd3e8bf3055 Mon Sep 17 00:00:00 2001 From: visocicaguy Date: Sat, 8 Oct 2016 23:30:58 +0200 Subject: [PATCH] Update README.md --- controller/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/README.md b/controller/README.md index fea9b0c..3aa5409 100644 --- a/controller/README.md +++ b/controller/README.md @@ -14,7 +14,7 @@ crontab -e -u root */1 * * * * /usr/bin/python /home/pi/projects/tfm/controller/camera_capture.py ``` -4. add following lines at the end of /etc/rc.local +4. add following lines at the end of /etc/rc.local before "exit 0" ``` python /home/pi/projects/tfm/controller/lockdown.py @@ -57,6 +57,6 @@ wget "http://mintakaconciencia.net/squares/umtskeeper/src/umtskeeper.tar.gz" tar -xzvf umtskeeper.tar.gz chmod +x sakis3g umtskeeper -#add following line at the end of /etc/rc.local (USBMODEM='12d1:1506' is a VARIABLE visible by issuing the command: lsusb): +#add following line at the end of /etc/rc.local before "exit 0" (USBMODEM='12d1:1506' is a VARIABLE visible by issuing the command: lsusb): sudo /home/pi/umtskeeper/umtskeeper --sakisoperators "USBINTERFACE='0' OTHER='USBMODEM' USBMODEM='12d1:1506' SIM_PIN='0000' APN='CUSTOM_APN' CUSTOM_APN='active.bhmobile.ba' APN_USER='0' APN_PASS='0'" --sakisswitches "--sudo --console" --devicename 'Huawei' --log --silent --monthstart 1 --nat 'no' --sakismaxfails 20 --httpserver &>> /home/pi/umtskeeper/error.log ```