chill wrote:
> 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 from /opt/bootlocal.sh..." | 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------
>
>
>
--------------------
> >
>
> EDIT: Edited to improve the helpfulness of the logged message.
Excellent option - thanks. I think I'll go for this.
p.s. I think you're missing a slash in front of the home/tc directory,
i.e. should be */*home/tc
------------------------------------------------------------------------
philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=113512
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix