From aedff01c72a852a1ccd5e690692461e942f441c5 Mon Sep 17 00:00:00 2001 From: cimryan Date: Sun, 14 Oct 2018 20:01:18 -0700 Subject: [PATCH] Typo in configure_rc_local name. --- windows_archive/setup-teslausb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/windows_archive/setup-teslausb b/windows_archive/setup-teslausb index bf844f1..a083c2e 100644 --- a/windows_archive/setup-teslausb +++ b/windows_archive/setup-teslausb @@ -55,6 +55,7 @@ function fix_cmdline_txt_modules_load () BACKINGFILES_MOUNTPOINT=/backingfiles function create_usb_drive_backing_files () { + mkdir "$BACKINGFILES_MOUNTPOINT" wget https://raw.githubusercontent.com/cimryan/teslausb/"$BRANCH"/windows_archive/create-backingfiles-partition.sh chmod +x ./create-backingfiles-partition.sh ./create-backingfiles-partition.sh "$BACKINGFILES_MOUNTPOINT" @@ -95,7 +96,7 @@ function configure_archive_scripts () { echo "Configured the archive scripts." } -function configure rc_local () { +function configure_rc_local () { echo "Configuring /etc/rc.local to run the archive scripts at startup..." echo "#!/bin/bash -eu" > ~/rc.local tail -n +2 /etc/rc.local | sed '$d' >> ~/rc.local @@ -156,6 +157,6 @@ configure_archive configure_archive_scripts -configure rc_local +configure_rc_local configure_hostname \ No newline at end of file