mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Create the backing files for the USB drives on a separate partition.
This commit is contained in:
@@ -23,7 +23,7 @@ Write-Verbose "Updating $configPath ..."
|
||||
|
||||
Write-Verbose "Updating $cmdlinePath ..."
|
||||
$cmdlinetxtContent = gc -Raw $cmdlinePath
|
||||
$cmdlinetxtContent.Replace("rootwait", "rootwait modules-load=dwc2,g_ether") | Out-File -FilePath $cmdlinePath -Encoding utf8
|
||||
$cmdlinetxtContent.Replace("rootwait", "rootwait modules-load=dwc2,g_ether").Replace(" init=/usr/lib/raspi-config/init_resize.sh", "") | Out-File -FilePath $cmdlinePath -Encoding utf8
|
||||
|
||||
Write-Verbose "Enabling SSH ..."
|
||||
[System.IO.File]::CreateText($sshPath).Dispose()
|
||||
|
||||
Reference in New Issue
Block a user