chill wrote:
> The downside is that it's 'invisible' from the pCP web interface. To
> remove it, a user would have to know to remove the ngrok command from
> /opt/bootlocal.sh
This can maybe be helped by recording the ngrok startup in the boot log.
The user could then (be directed to) look at the boot log:
Code:
--------------------
#!/bin/sh
# put other system startup commands here
echo "Starting ngrok..." | tee -a /var/log/pcp_boot.log
home/tc/ngrok_startup.sh 10 &
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------
--------------------
------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113512
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix