Commit Graph

61 Commits

Author SHA1 Message Date
cimryan
499d23cb36 Retry mounting the shares up to 10 times.
There's a race between the system mounting the share and the findmnt invocation in the script to determine if the share is already mounted.
When findmnt wins the race the script would previously operate as if the share definitely needed to be mounted, and would fail to mount it.
Now the script will notice that the share has already been mounted.
2018-10-13 08:11:02 -07:00
cimryan
64b323eb76 If the archive is initially reachable wait for it to be unreachable after archiving the clips before archiving the clips, again. 2018-10-13 08:06:55 -07:00
cimryan
b386bcc610 The setup script updates archiveloop with the name of the archive server 2018-10-12 15:45:45 -07:00
cimryan
71e8ba0339 Give the volume a label and don't overwrite hostname with hosts. 2018-10-12 14:33:47 -07:00
cimryan
1d19ac5c2f Make the network name of the Pi "teslausb". 2018-10-12 14:07:20 -07:00
cimryan
1aac431c06 Avoid connecting the USB drive if it'll just immediately be disconnected. 2018-10-12 13:44:18 -07:00
cimryan
f2b61ef535 Add setup-piForHeadlessConfig.ps1
Script to automate the process of preparing the Pi to listen for SSH connections over USB.
2018-10-12 07:41:11 -07:00
cimryan
258aa20cb5 Fix the addition of the archive server to /etc/fstab. 2018-10-11 20:11:28 -07:00
cimryan
1de5a9fa1f Automate the setup and split out the steps for headless setup into separate documents. 2018-10-11 00:28:18 -07:00
cimryan
0054510c48 Create archive-teslacam-clips 2018-10-08 07:28:14 -07:00
cimryan
b30532bb3e Create archiveloop 2018-10-08 07:23:50 -07:00