Unverified Commit 1c40e707 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Check script location

parent 7192a818
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ start() {
  echo 'Starting agent service...'
  chmod 666 /dev/ttyS0

  if [ -f "$SCRIPT" ]; then
  if [ ! -f "$SCRIPT" ]; then

    echo 'ERROR: Agent script not found!' > /dev/ttyS0