philchillbill wrote:
> You guessed it :cool: Thanks as usual.
>
> I have created a gorgeous landing page where a user can fill in all the
> details of his/her setup so that the setup script that is generated has
> everything already filled in for a turnkey install. vi sucks as an
> editor so better to not have to use it at all for noobs.
I'm looking forward to trying it out. On further thought, I think the
better place to put the ngrok startup command is in /opt/bootlocal.sh.
This avoids the risk that a user has already filled all three User
Command slots. 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
For example:
Code:
--------------------
#!/bin/sh
# put other system startup commands here
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