mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Create the TeslaCam directory as part of the SD card setup
This commit is contained in:
@@ -103,6 +103,12 @@ function create_usb_drive_backing_files () {
|
||||
/tmp/create-backingfiles.sh "$campercent" "$BACKINGFILES_MOUNTPOINT"
|
||||
}
|
||||
|
||||
function create_teslacam_directory () {
|
||||
mount /mnt/cam
|
||||
mkdir /mnt/cam/TeslaCam
|
||||
umount /mnt/cam
|
||||
}
|
||||
|
||||
function configure_archive () {
|
||||
echo "Configuring the archive..."
|
||||
mkdir /mnt/archive
|
||||
@@ -216,6 +222,8 @@ echo "" >> /etc/fstab
|
||||
|
||||
create_usb_drive_backing_files
|
||||
|
||||
create_teslacam_directory
|
||||
|
||||
configure_archive
|
||||
|
||||
configure_rc_local
|
||||
|
||||
Reference in New Issue
Block a user