philchillbill wrote: 
> 
> I have to admit I'm surprised that backing up a 24MB file is slow on any
> modern system. This is the GB and TB era so we're talking crumbs here
> :confused:

Yeah, it's not -slow--slow (maybe 20 seconds or so? - not sure, haven't
timed it), but you have to keep in mind that pCP is usually booted from
an SD card and the backup goes back to that SD card.  On an older Pi,
with a slow SD card, it would probably take longer.  That extra 20s goes
against the 'ethos' of pCP, which is to have a small, light, and very
fast system, regardless of hardware.

Including the ngrok executable in the backup didn't seem to cause any
other problems, but as a pCP user it's something I'd personally want to
avoid.

Your shell script seems like a nice idea.  I looked at the links to the
binaries on the ngrok site (e.g.
https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip),
because a wget command would be better than downloading it to a computer
and then uploading to the Pi, but all those random characters in the
link give the impression that it might not always be the same link. 
Aside from that, the shell script could download the binary, build the
tcz, create the yml file, and also personalise the startup script, which
could be included in the tcz.


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

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

Reply via email to