mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Merge remote-tracking branch 'origin/master' into refactor/noop_configure
This commit is contained in:
14
README.md
14
README.md
@@ -69,13 +69,19 @@ Follow the instructions corresponding to the technology you'd like to use to hos
|
|||||||
* SFTP/rsync: [Instructions](doc/SetupRSync.md)
|
* SFTP/rsync: [Instructions](doc/SetupRSync.md)
|
||||||
* **Experimental:** Google Drive, Amazon S3, DropBox, Microsoft OneDrive: [Instructions](doc/SetupRClone.md)
|
* **Experimental:** Google Drive, Amazon S3, DropBox, Microsoft OneDrive: [Instructions](doc/SetupRClone.md)
|
||||||
|
|
||||||
### Set up the USB storage functionality
|
### Optional: Allocate SD Card Storage
|
||||||
1. Indicate how much, as a percentage, of the drive you want to allocate to recording dashcam footage by running this command:
|
Indicate how much, as a percentage, of the drive you want to allocate to recording dashcam footage by running this command:
|
||||||
|
|
||||||
```
|
```
|
||||||
export campercent=<number>
|
export campercent=<number>
|
||||||
```
|
```
|
||||||
For example, using `export campercent=100` would allocate 100% of the space to recording footage from your car, and would not create a separate music partition. `export campercent=50` would allocate half of the space for a dashcam footage drive and allocates the other half to for a music storage drive.
|
|
||||||
1. If you'd like to receive a text message when your Pi finishes archiving clips follow these [Instructions](doc/ConfigureNotificationsForArchive.md).
|
For example, using `export campercent=100` would allocate 100% of the space to recording footage from your car and would not create a separate music partition. `export campercent=50` would allocate half of the space for a dashcam footage drive and allocates the other half to for a music storage drive. If you don't set `campercent`, the script will allocate 90% of the total space to the dashcam by default.
|
||||||
|
|
||||||
|
### Optional: Configure push notification via Pushover
|
||||||
|
If you'd like to receive a text message when your Pi finishes archiving clips follow these [Instructions](doc/ConfigureNotificationsForArchive.md).
|
||||||
|
|
||||||
|
### Set up the USB storage functionality
|
||||||
1. Run these commands:
|
1. Run these commands:
|
||||||
```
|
```
|
||||||
wget https://raw.githubusercontent.com/cimryan/teslausb/master/setup/pi/setup-teslausb
|
wget https://raw.githubusercontent.com/cimryan/teslausb/master/setup/pi/setup-teslausb
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ HEADLESS_SETUP=${HEADLESS_SETUP:-false}
|
|||||||
USE_LED_FOR_SETUP_PROGRESS=true
|
USE_LED_FOR_SETUP_PROGRESS=true
|
||||||
CONFIGURE_ARCHIVING=${CONFIGURE_ARCHIVING:-true}
|
CONFIGURE_ARCHIVING=${CONFIGURE_ARCHIVING:-true}
|
||||||
UPGRADE_PACKAGES=${UPGRADE_PACKAGES:-true}
|
UPGRADE_PACKAGES=${UPGRADE_PACKAGES:-true}
|
||||||
|
campercent=${campercent:-90}
|
||||||
|
|
||||||
function setup_progress () {
|
function setup_progress () {
|
||||||
local setup_logfile=/boot/teslausb-headless-setup.log
|
local setup_logfile=/boot/teslausb-headless-setup.log
|
||||||
|
|||||||
Reference in New Issue
Block a user