Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Raspberry Pi Boot Configuration
#6
(10-12-2020, 05:23 PM)midwestE Wrote: Finally getting around to setting up the new controller as the old one kicked the bucket today (RIP!).  I checkout the install script you linked in above post and it seems to have an error when it tries to copy the reef-pi.db on line 233:

sudo cp /boot/reef-pi.db /var/lib/reef-pi/reef-pi.db

Would be better to use the installers current working directory to get the location of the db, as there is little chance of guessing where the user unzipped the installer

CWD="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
sudo cp "${CWD}/reef-pi.db" /var/lib/reef-pi/reef-pi.db

Oh noooo, what happened to it? 

I didn't think about that issue but see it could be a problem, thanks for the solution. I'm working on my own software for controller so this comes at a good time as I copy over quite a few more files during install.
Reply to top


Messages In This Thread
Raspberry Pi Boot Configuration - by mcarleton - 10-08-2020, 09:41 PM
RE: Raspberry Pi Boot Configuration - by Rob F - 10-08-2020, 09:47 PM
RE: Raspberry Pi Boot Configuration - by Rob F - 10-08-2020, 10:49 PM
RE: Raspberry Pi Boot Configuration - by midwestE - 10-12-2020, 05:23 PM
RE: Raspberry Pi Boot Configuration - by Rob F - 10-12-2020, 07:13 PM
RE: Raspberry Pi Boot Configuration - by midwestE - 10-12-2020, 07:35 PM
RE: Raspberry Pi Boot Configuration - by Rob F - 10-12-2020, 08:20 PM
RE: Raspberry Pi Boot Configuration - by midwestE - 10-15-2020, 08:08 PM
RE: Raspberry Pi Boot Configuration - by Rob F - 10-15-2020, 08:35 PM
RE: Raspberry Pi Boot Configuration - by midwestE - 10-16-2020, 07:19 AM
RE: Raspberry Pi Boot Configuration - by Rob F - 10-16-2020, 12:14 PM
RE: Raspberry Pi Boot Configuration - by midwestE - 10-16-2020, 01:35 PM
RE: Raspberry Pi Boot Configuration - by Rob F - 10-16-2020, 08:11 PM
RE: Raspberry Pi Boot Configuration - by midwestE - 10-20-2020, 07:56 AM
RE: Raspberry Pi Boot Configuration - by Rob F - 10-20-2020, 08:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Stay off at boot dmsc2fs 5 2,432 10-01-2022, 05:04 PM
Last Post: Rob F
  10v PWM/Analog configuration & Testing mcarleton 11 6,497 10-21-2020, 07:32 PM
Last Post: Rob F

Forum Jump:

Current time: 04-30-2024, 03:51 PM