Commit Graph

77 Commits

Author SHA1 Message Date
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
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
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
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
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
664e47b1c0 Create the TeslaCam directory as part of the SD card setup 2018-10-23 07:47:23 -04: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
10ce084851 Eliminate BOM from wpa_supplicant.conf 2018-10-22 19:42:54 -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
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
cimryan
5788bc4f7b Verify that the archive is mountable before making changes to the file systems. 2018-10-19 14:26:10 -07:00
cimryan
eb21377738 Remove extra call to check_pushover_enabled 2018-10-19 13:39:52 -07:00
cimryan
25544ad0bb Merge branch 'master' into u/cimryan/fix_errors_on_startup 2018-10-19 11:41:16 -07:00
cimryan
832320aa1a Create the wpa_supplicant file on the boot partition during setup-piForHeadlessConfig.ps1.
Also consolidate the documentation. Removed support for manual setup; that process doesn't add value, anymore.
2018-10-19 10:39:36 -07:00
cimryan
858ae5da39 Fix errors on both the cam and the music filesystems before the archive loop starts. 2018-10-18 20:45:48 -07:00
cimryan
475af79d48 Merge pull request #36 from cimryan/rtgoodwin/updater-script
Rtgoodwin/updater script
2018-10-18 18:39:53 -07:00
cimryan
5f38228860 Get the IP address of the archive server by parsing ping output instead of using getent
This seems to work for more network configurations.
2018-10-18 09:07:13 -07:00
cimryan
e63e697f4e Merge pull request #35 from rtgoodwin/updater-script
Mac folder, config updater script, updated readmes.
2018-10-18 08:52:32 -07:00
Richard Goodwin
e917829a9f Quotes in updater script, Readme updates, remount script. 2018-10-18 07:32:08 -05:00
Richard Goodwin
619852dd26 Of course I missed another typo. 2018-10-17 12:13:43 -05:00
Richard Goodwin
24035c5e86 LAST typo on chmod. Tested working at this point. 2018-10-17 10:24:59 -05:00
Richard Goodwin
dc62ce2ee4 Typo on line to grab pushover script. 2018-10-17 10:07:43 -05:00
Richard Goodwin
32095c04e9 Clean merge with master. 2018-10-17 09:52:45 -05:00
Richard Goodwin
5c62ba93a0 Finalized to open PR 2018-10-16 14:37:09 -05:00
Richard Goodwin
d6e63ff720 Fixed a hyphen typo. 2018-10-16 13:27:11 -05:00
Richard Goodwin
f477fc4348 Even more error checking. 2018-10-16 12:48:07 -05:00
Richard Goodwin
adcf8fd2de Better error checking. 2018-10-16 12:25:15 -05:00
Richard Goodwin
bd90ef535f Initial commit for pushover testing 2018-10-16 11:51:26 -05:00
cimryan
7dfc9de59c Update branch references to master after merge. 2018-10-16 07:44:53 -07:00
cimryan
e608ce5c73 Report success at the end of setup 2018-10-16 07:21:37 -07:00
cimryan
a70b752a16 Make the root fs readonly during setup. 2018-10-15 22:32:36 -07:00
cimryan
657efc9f17 Fix creation of g_mass_storage.conf 2018-10-15 14:50:52 -07:00