mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Typo in configure_rc_local name.
This commit is contained in:
@@ -55,6 +55,7 @@ function fix_cmdline_txt_modules_load ()
|
|||||||
BACKINGFILES_MOUNTPOINT=/backingfiles
|
BACKINGFILES_MOUNTPOINT=/backingfiles
|
||||||
|
|
||||||
function create_usb_drive_backing_files () {
|
function create_usb_drive_backing_files () {
|
||||||
|
mkdir "$BACKINGFILES_MOUNTPOINT"
|
||||||
wget https://raw.githubusercontent.com/cimryan/teslausb/"$BRANCH"/windows_archive/create-backingfiles-partition.sh
|
wget https://raw.githubusercontent.com/cimryan/teslausb/"$BRANCH"/windows_archive/create-backingfiles-partition.sh
|
||||||
chmod +x ./create-backingfiles-partition.sh
|
chmod +x ./create-backingfiles-partition.sh
|
||||||
./create-backingfiles-partition.sh "$BACKINGFILES_MOUNTPOINT"
|
./create-backingfiles-partition.sh "$BACKINGFILES_MOUNTPOINT"
|
||||||
@@ -95,7 +96,7 @@ function configure_archive_scripts () {
|
|||||||
echo "Configured the 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 "Configuring /etc/rc.local to run the archive scripts at startup..."
|
||||||
echo "#!/bin/bash -eu" > ~/rc.local
|
echo "#!/bin/bash -eu" > ~/rc.local
|
||||||
tail -n +2 /etc/rc.local | sed '$d' >> ~/rc.local
|
tail -n +2 /etc/rc.local | sed '$d' >> ~/rc.local
|
||||||
@@ -156,6 +157,6 @@ configure_archive
|
|||||||
|
|
||||||
configure_archive_scripts
|
configure_archive_scripts
|
||||||
|
|
||||||
configure rc_local
|
configure_rc_local
|
||||||
|
|
||||||
configure_hostname
|
configure_hostname
|
||||||
Reference in New Issue
Block a user