Commit Graph

159 Commits

Author SHA1 Message Date
cimryan
d3c31cc83c Remove "local". 2018-10-24 18:00:17 -07:00
cimryan
8d8ecce249 Fix references to write-archive-credentials-to.sh 2018-10-24 07:40:01 -07:00
cimryan
bd53fe0822 Closer to setup-teslausb being re-runnable. 2018-10-24 07:33:02 -07:00
cimryan
32e94acd2a More generic instructions for setting up file share. 2018-10-23 22:38:34 -07:00
cimryan
e61eb737bc Rename windows_archive -> cifs_archive 2018-10-23 22:33:59 -07:00
cimryan
07006c31c1 Move setup-piForHeadlessConfig.sh to top level. 2018-10-23 22:29:21 -07:00
cimryan
ffa8f8980d Move setup-piForHeadlessConfig.ps1 to top level. 2018-10-23 22:28:13 -07:00
cimryan
b60397ee29 Move send-pushover to top level. 2018-10-23 22:26:39 -07:00
cimryan
e4e24d008d Move create-backingfiles-partition.sh, create-backingfiles.sh, make-root-fs-readonly.sh to top level. 2018-10-23 22:24:16 -07:00
cimryan
59fff033ac Move setup-teslausb to top level. 2018-10-23 22:22:20 -07:00
cimryan
3566132c18 Set archiveserver in rc.local. 2018-10-23 22:20:35 -07:00
cimryan
50f0b3788d Eliminate redundant checks of cifs_version. 2018-10-23 22:16:59 -07:00
cimryan
d1cd47cbda Move archiveloop, archive-teslacam-clips, and remountfs_rw to the top level. 2018-10-23 22:11:05 -07:00
cimryan
1685fa78f7 Move CIFS-specific functions out of setup-teslausb. 2018-10-23 22:05:25 -07:00
cimryan
9261cc9b20 Extract duplicate chmod calls. 2018-10-23 21:02:19 -07:00
cimryan
4c4e5ad93b Abstract connect-archive.sh and disconnect-archive.sh 2018-10-23 21:01:02 -07:00
cimryan
8dc3b4ea69 Abstract archive-clips.sh 2018-10-23 20:57:58 -07:00
cimryan
f84d727d9a Move rsync files to rsync_archive 2018-10-23 20:54:16 -07:00
cimryan
21b22ba4cc Prepare for abstract connect, disconnect, archive. 2018-10-23 20:50:04 -07:00
cimryan
a174e74bb8 Rename archive-rsync to archive-rsync.sh 2018-10-23 20:32:28 -07:00
cimryan
c563f287ba Make send-pushover safe to always invoke, and always invoke it. Split CIFS archiving to archive-cifs.sh 2018-10-23 20:29:33 -07:00
cimryan
cb35f069bf Merge branch 'master' into u/gocnak/rsync_archive
# Conflicts:
#	windows_archive/setup-teslausb
2018-10-23 19:37:33 -07:00
cimryan
95a337ffcc Merge pull request #52 from cimryan/u/firedfly/create_teslacam_dir
Create the TeslaCam directory during setup-teslausb
2018-10-23 19:05:28 -07:00
cimryan
a7a9110160 Just three phases to setting up the Pi, now. 2018-10-23 18:29:26 -07:00
cimryan
5b75897c7d Move creation of the TeslaCam directory to create-backingfiles.sh
The create-backingfiles.sh file already contains the responsibility for defining the mount points, which this step needs.
2018-10-23 18:18:35 -07:00
cimryan
cc89acefce Halt is preferred. 2018-10-23 16:40:41 -07:00
cimryan
f863d96859 Merge pull request #46 from firedfly/master
Create TeslaCam directory automatically
2018-10-23 16:36:17 -07:00
cimryan
be7bd993f5 Merge branch 'u/firedfly/create_teslacam_dir' into master 2018-10-23 16:35:53 -07:00
cimryan
41e9c9f945 Don't attempt to fix errors in the music file when there is no music file. 2018-10-23 09:17:17 -07:00
cimryan
5336a5195a Merge pull request #48 from cimryan/u/cimryan/verify_archive_mountable
Verify the archive is mountable before making changes to the Pi
2018-10-23 08:07:52 -07:00
cimryan
85372bcb06 Umount the temp mount. 2018-10-23 07:48:01 -07:00
cimryan
b6abdfb726 Simplified tests aren't compatible with bash -u. 2018-10-23 07:27:58 -07:00
cimryan
9898fe95ee Simplify tests for empty variables. Use caps for globals. 2018-10-23 06:52:22 -07:00
Stephen Gordon
b71d7d77d6 More changes to the readme instructions. Connecting the Pi to a PC after setup-teslausb is run is only required when adding music to the Pi 2018-10-23 09:39:18 -04:00
cimryan
a8e3671a94 Set the branch and repo only if not already set. 2018-10-23 06:38:32 -07:00
cimryan
5dffdc053b Merge branch 'master' into u/cimryan/verify_archive_mountable 2018-10-23 06:31:01 -07:00
Stephen Gordon
7eaead43ae Remove instructions about manually creating the TeslaCam directory 2018-10-23 09:13:25 -04:00
Stephen Gordon
664e47b1c0 Create the TeslaCam directory as part of the SD card setup 2018-10-23 07:47:23 -04:00
cimryan
b2baa9378d Merge branch 'u/cimryan/fix_errors_on_startup' 2018-10-22 21:49:04 -07:00
cimryan
71612c46ef Fix errors. 2018-10-22 21:48:27 -07:00
cimryan
1916470ec8 Merge branch 'master' into u/cimryan/fix_errors_on_startup 2018-10-22 19:47:08 -07:00
cimryan
7a399dee15 Merge branch 'master' of https://github.com/cimryan/teslausb 2018-10-22 19:43:14 -07:00
cimryan
10ce084851 Eliminate BOM from wpa_supplicant.conf 2018-10-22 19:42:54 -07:00
cimryan
edc5c47513 Fix references to setup-piForHeadlessConfig.sh 2018-10-21 11:21:25 -07:00
cimryan
c7d3de0e3e Merge pull request #42 from Gocnak/master
Archive to FTP server using rsync
2018-10-20 23:26:32 -04:00
Gocnak
f335f23611 Updated instructions to prevent bizarre deadend
Need to make sure you use the root user to generate the ssh key, and make sure to authorize the connection initially
2018-10-20 22:58:30 -04:00
Gocnak
1648a1993f More minor fixes
Fixed rsync user and server being overwritten
Added log file outputs for archive-rsync
2018-10-20 06:45:08 -04:00
Gocnak
de3371f00c rsync will not be using the mnt/archive folder
It'll instead bypass and just call itself on its own
2018-10-20 05:30:57 -04:00
Gocnak
b60b787953 Minor fixes
Archive isn't mounted for rsync, it's just a folder
2018-10-20 04:27:44 -04:00
Gocnak
002d1e6f6c Initial rsync support (untested)
Currently untested, but the main idea is there
Currently it's either the normal archive server or rsync; not both, which is something to consider when adding things like gdrive and s3 (make it more modular?)
2018-10-20 03:26:08 -04:00