pputzer wrote: 
> I think there's supposed to be a function *pcp_rpi_is_rpi4* defined in
> *WWWROOT/cgi-bin/pcp-rpi-functions*, but it isn't. It is referenced in
> *writetohdmipwr.cgi*.
> 
> > 
Code:
--------------------
  >   > Powering off HDMI.../usr/local/etc/init.d/pcp_startup.sh: line 788: 
pcp_rpi_is_rpi4: not found
  > sh: 1: unknown operand
  > Done.
--------------------
> > 

Thanks pputzer,

I removed lots of functions from pcp-rpi-functions for pCP7.0.0 as they
were not being used and were causing extra work each time PRF added a
new RPi. Now it just a matter of adding one line of code for each new
product. As pCP is getting bigger and bigger, some of the original
decisions made 6 years ago don't make sense. Now it is more important to
make things manageable.

Anyway, at the same time Paul used one of these "unused" functions in a
seldom used bit of code. I thought he fixed and he probably thought I
fixed. :o

regards
Greg


------------------------------------------------------------------------
Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

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

Reply via email to