From b6a02c70f04c3f44aee15f6aa9b85c5185b2cffe Mon Sep 17 00:00:00 2001 From: Jared Date: Thu, 17 Nov 2016 20:29:05 +0000 Subject: [PATCH] Corrected script --- fixscriptip.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 fixscriptip.sh diff --git a/fixscriptip.sh b/fixscriptip.sh old mode 100644 new mode 100755 index 2749c99..6bee1ee --- a/fixscriptip.sh +++ b/fixscriptip.sh @@ -1,2 +1,3 @@ #!/bin/sh -sed -i 's/127\.0\.0\.1:5000/130\.237\.3\.207/g' script.js \ No newline at end of file +cd /home/pi/ELAB-RFID-locks/static +sed -i 's/127\.0\.0\.1:5000/130\.237\.3\.207/g' script.js