diff --git a/README.md b/README.md index 8923f85..734e033 100644 --- a/README.md +++ b/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) * **Experimental:** Google Drive, Amazon S3, DropBox, Microsoft OneDrive: [Instructions](doc/SetupRClone.md) +### Optional: Allocate SD Card Storage +Indicate how much, as a percentage, of the drive you want to allocate to recording dashcam footage by running this command: + +``` + export campercent= +``` + +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. Indicate how much, as a percentage, of the drive you want to allocate to recording dashcam footage by running this command: - ``` - export campercent= - ``` - 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). 1. Run these commands: ``` wget https://raw.githubusercontent.com/cimryan/teslausb/master/setup/pi/setup-teslausb diff --git a/setup/pi/setup-teslausb b/setup/pi/setup-teslausb index 7fae377..28ad24c 100644 --- a/setup/pi/setup-teslausb +++ b/setup/pi/setup-teslausb @@ -6,6 +6,7 @@ HEADLESS_SETUP=${HEADLESS_SETUP:-false} USE_LED_FOR_SETUP_PROGRESS=true CONFIGURE_ARCHIVING=${CONFIGURE_ARCHIVING:-true} UPGRADE_PACKAGES=${UPGRADE_PACKAGES:-true} +campercent=${campercent:-90} function setup_progress () { local setup_logfile=/boot/teslausb-headless-setup.log