Commit Graph

380 Commits

Author SHA1 Message Date
Richard Goodwin
fe764b00f7 Silent pushover curl
And fixed a missing fi
2018-10-21 14:46:45 -05:00
Richard Goodwin
5cfe22fb92 Check for teslacam folder
And other tweaks.
2018-10-21 14:04:23 -05:00
Richard Goodwin
5b4dd4538f Better testing of pushover
And archive loop logging weirdness.
2018-10-21 13:37:29 -05:00
cimryan
edc5c47513 Fix references to setup-piForHeadlessConfig.sh 2018-10-21 11:21:25 -07:00
Richard Goodwin
a8ac613fd0 More descriptive
Also typos in LOGFILE var.
2018-10-21 13:10:50 -05:00
Richard Goodwin
0aa03a1ca8 Don't exit rc.local prematurely
Also silent downloads of scripts.
2018-10-21 12:57:21 -05:00
Richard Goodwin
c0bf2dce81 All path errors all day. 2018-10-21 11:42:56 -05:00
Richard Goodwin
cbcfa38d0f Another path error in setup script 2018-10-21 11:41:42 -05:00
Richard Goodwin
055c0e8d36 Path error in setup script 2018-10-21 11:39:24 -05:00
Richard Goodwin
307afe4792 Update headless-script path 2018-10-21 11:08:49 -05:00
Richard Goodwin
1335be2a1c Change branch for testing
Also in prev commit always download pushover script as it doesn't hurt (user can set it up later) and removes some conditional logic.
2018-10-21 11:05:35 -05:00
Richard Goodwin
52ad4b21ad Made more informative
Output to setup log
Easier to read main log function
Add LED flashes for stage setup / failure
Move all script downloads to frontend setup script
2018-10-21 11:02:49 -05: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
Richard Goodwin
4b761d34e0 Update headless-scripts/setup-teslausb-headless
Added a reboot since resolv.conf and filesystem remount seem to need it.
2018-10-20 19:11:41 -05:00
Richard Goodwin
e08e34c558 More logging and automation 2018-10-20 18:25:30 -05:00
Richard Goodwin
1d5d2d1641 Putting files in place for wget test 2018-10-20 11:58:10 -05: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
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
78409e77a8 Merge branch 'rtgoodwin/updater-script' of github.com:cimryan/teslausb into rtgoodwin/updater-script 2018-10-18 08:57:55 -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
cimryan
f68959a8ba Remove /.DS_Store 2018-10-18 08:37:46 -07:00
Richard Goodwin
a6c0c17fd8 Added some echo commands to updater script for readability. 2018-10-18 07:43:51 -05:00
Richard Goodwin
2d821a2d10 Updated usb to USB. Capital letters. 2018-10-18 07:39:12 -05:00
Richard Goodwin
06327023bf Small clarifying text on deleting filesystem expansion parameter. 2018-10-18 07:37:34 -05:00
Richard Goodwin
3e687106e1 Some typos in the Mac and Linux readme. 2018-10-18 07:35:45 -05:00
Richard Goodwin
e917829a9f Quotes in updater script, Readme updates, remount script. 2018-10-18 07:32:08 -05:00
cimryan
6563aa9200 Remove /.DS_Store 2018-10-17 20:36:24 -07:00
Richard Goodwin
9aa5d0114d Section headings update for clarity 2018-10-17 22:23:35 -05:00
Richard Goodwin
59e3f8aac1 Mac folder, config updater script, updated readmes. 2018-10-17 22:17:34 -05:00
cimryan
7b00cbdbc3 Merge pull request #33 from rtgoodwin/push-hot-fix
Typo on script name
2018-10-17 10:41:34 -07:00
Richard Goodwin
619852dd26 Of course I missed another typo. 2018-10-17 12:13:43 -05:00
cimryan
6f409b0ada Merge pull request #31 from rtgoodwin/readme-cmdline
Readme cmdline
2018-10-17 10:06:54 -07:00