Bogg wrote: 
> Hi, I've installed this today on pcp  v7.0.1 running on wifi, the same
> pcp is running lms.
> The first time the script runs everything works as expected. Alexa
> discovers and can control devices, I can use the tunnel link and see my
> lms from the internet.
> Unfortunately it doesn't survive a reboot. The tunnel link says 
> Tunnel {MYTUNNEL}.eu.ngrok.io not found
> 
> This is my /opt/bootlocal.sh
> > 
Code:
--------------------
  >   > 
  > #!/bin/sh
  > # put other system startup commands here
  > 
  > echo "Starting SQLITE-control.sh from /opt/bootlocal.sh..." | tee -a 
/var/log/pcp_b>
  > /home/tc/SQLITE-control.sh find M6 &
  > GREEN="$(echo -e '\033[1;32m')"
  > 
  > echo
  > echo "${GREEN}Running bootlocal.sh..."
  > #pCPstart------
  > /usr/local/etc/init.d/pcp_startup.sh 2>&1 | tee -a /var/log/pcp_boot.log
  > #pCPstop------
  > 
  > ### BH1750 start ------
  > # Enabling kernel module i2c-dev
  > /sbin/modprobe i2c-dev
  > # starting shell script to control display brightness
  > /home/tc/lux/display-control.py
  > ### BH1750 stop ------
  > 
--------------------
> > 
> 
> I expected something about ngrok in here, but I don't know what.

setup.sh should have added a single line to bootlocal.sh - maybe it did
but the final pcp bu step failed? Run setup.sh again and watch for any
error messages. When it completes, do a pcp bu yourself. Any error?
If that fails, the correct entry is

/bin/sh /home/tc/ngrok_startup.sh

But you should try to understand why the setup process failed. Did you
change permissions or ownership in the past?


------------------------------------------------------------------------
philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=113966

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to