mirror of
https://github.com/cimryan/teslausb.git
synced 2026-02-28 20:20:32 +00:00
Move additional wgets into setup ps1
This commit is contained in:
@@ -15,7 +15,6 @@
|
|||||||
```
|
```
|
||||||
cd ~
|
cd ~
|
||||||
wget https://raw.githubusercontent.com/cimryan/teslausb/master/setup/windows/setup-piForHeadlessConfig.ps1 -OutFile setup-piForHeadlessConfig.ps1
|
wget https://raw.githubusercontent.com/cimryan/teslausb/master/setup/windows/setup-piForHeadlessConfig.ps1 -OutFile setup-piForHeadlessConfig.ps1
|
||||||
wget https://raw.githubusercontent.com/cimryan/teslausb/master/setup/windows/WpaSupplicantConf.psm1 -OutFile WpaSupplicantConf.psm1
|
|
||||||
./setup-piForHeadlessConfig.ps1 -Verbose
|
./setup-piForHeadlessConfig.ps1 -Verbose
|
||||||
```
|
```
|
||||||
1. Enter the single letter of the "boot" drive and press Enter.
|
1. Enter the single letter of the "boot" drive and press Enter.
|
||||||
@@ -23,7 +22,6 @@
|
|||||||
1. Enter the Pre-Shared Key of your WiFi network and press Enter.
|
1. Enter the Pre-Shared Key of your WiFi network and press Enter.
|
||||||
1. If you want to add additional WiFi networks, execute:
|
1. If you want to add additional WiFi networks, execute:
|
||||||
```
|
```
|
||||||
wget https://raw.githubusercontent.com/cimryan/teslausb/master/setup/windows/add-wifi.ps1 -OutFile add-wifi.ps1
|
|
||||||
./add-wifi.ps1 -Verbose
|
./add-wifi.ps1 -Verbose
|
||||||
```
|
```
|
||||||
1. If you will use any public or insecure networks, be sure to update your password using the instructions at the end of this document.
|
1. If you will use any public or insecure networks, be sure to update your password using the instructions at the end of this document.
|
||||||
|
|||||||
@@ -11,6 +11,9 @@ Param
|
|||||||
[string]$wifiPSK
|
[string]$wifiPSK
|
||||||
)
|
)
|
||||||
|
|
||||||
|
wget https://raw.githubusercontent.com/cimryan/teslausb/master/setup/windows/WpaSupplicantConf.psm1 -OutFile WpaSupplicantConf.psm1
|
||||||
|
wget https://raw.githubusercontent.com/cimryan/teslausb/master/setup/windows/add-wifi.ps1 -OutFile add-wifi.ps1
|
||||||
|
|
||||||
Import-Module -Name ".\WpaSupplicantConf.psm1" -Force
|
Import-Module -Name ".\WpaSupplicantConf.psm1" -Force
|
||||||
|
|
||||||
$drivePath="${driveLetter}:"
|
$drivePath="${driveLetter}:"
|
||||||
|
|||||||
Reference in New Issue
Block a user