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
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
29a79bf45e
Merge branch 'master' of https://github.com/cimryan/teslausb
2018-10-19 11:40:02 -07:00
cimryan
4bc642e717
Merge branch 'u/cimryan/preconfigure_wifi_on_windows'
2018-10-19 11:39:38 -07:00
cimryan
8744bf0c19
Extracted notification instructions to separate document.
...
Keep the main instructions as streamlined as possible.
2018-10-19 10:52:35 -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
7e41acf788
Merge pull request #41 from rtgoodwin/headless-patch
...
Made sed command portable, added checks to not dupe file edits.
2018-10-19 06:20:46 -07:00
Richard Goodwin
258051039d
Made sed command portable, added checks to not dupe file edits.
2018-10-19 01:39:24 -05: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
7dfee7900e
Revert unnecessary usb->USB changes.
2018-10-18 18:35:51 -07:00
cimryan
c1b2d33546
Fix references to setup-piForHeadlessConfig.sh
2018-10-18 18:32:21 -07:00
cimryan
ccfc724f39
Replace update-rpi-mac-linux.sh with non-lgpl alternative.
2018-10-18 12:54:07 -07:00