Howard Passman wrote: 
> Thanks Paul. Is there a script I can run before LMS loads that would put
> a date in there. It can be just some arbritary date.

Yes,

The check is very crude to make sure the year is 2020 before continuing.
So if you set the date in /opt/bootlocal.sh to an arbitrary date in
2020, you should get by the check with no delay.

Do it like this.

Code:
--------------------
    
  #!/bin/sh
  # put other system startup commands here
  
  GREEN="$(echo -e '\033[1;32m')"
  
  date -s 2020-12-15
  
  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------
  
--------------------



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer
------------------------------------------------------------------------
paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113199

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

Reply via email to