nah
This commit is contained in:
+5
-1
@@ -10,11 +10,15 @@ $PASSWD = Get-DefaultPassword $PASSWD
|
|||||||
pscp.exe -l root -scp -pw $PASSWD -r 192.168.100.1:/etc/ldlda_help $PSScriptRoot
|
pscp.exe -l root -scp -pw $PASSWD -r 192.168.100.1:/etc/ldlda_help $PSScriptRoot
|
||||||
pscp.exe -l root -scp -pw $PASSWD 192.168.100.1:/etc/rc.local $PSScriptRoot
|
pscp.exe -l root -scp -pw $PASSWD 192.168.100.1:/etc/rc.local $PSScriptRoot
|
||||||
|
|
||||||
|
Remove-Item -Recurse (Join-Path $PSScriptRoot "root")
|
||||||
|
pscp.exe -l root -scp -pw $PASSWD -r 192.168.100.1:/root $PSScriptRoot
|
||||||
|
|
||||||
|
|
||||||
$initDir = Join-Path $PSScriptRoot 'init.d'
|
$initDir = Join-Path $PSScriptRoot 'init.d'
|
||||||
New-Item -ItemType Directory -Force -Path $initDir | Out-Null
|
New-Item -ItemType Directory -Force -Path $initDir | Out-Null
|
||||||
|
|
||||||
# these are sum
|
# these are sum
|
||||||
$files = "update_wakey" , "wakey" , "update_tailscale" , "wireguard_setup"
|
$files = "update_wakey" , "wakey" , "update_tailscale" , "wireguard_setup", "lda-override"
|
||||||
$remote = $files.ForEach({ "/etc/init.d/$_" })
|
$remote = $files.ForEach({ "/etc/init.d/$_" })
|
||||||
$remote | ForEach-Object {
|
$remote | ForEach-Object {
|
||||||
pscp.exe -l root -scp -pw $PASSWD "192.168.100.1:$_" "$initDir\"
|
pscp.exe -l root -scp -pw $PASSWD "192.168.100.1:$_" "$initDir\"
|
||||||
|
|||||||
@@ -69,8 +69,8 @@ Path control (binary and config are independent):
|
|||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
./scripts/act_runner_wsl.ps1 -Action status `
|
./scripts/act_runner_wsl.ps1 -Action status `
|
||||||
-RunnerBin /home/lda/gitea-runner/act_runner `
|
-RunnerBin /home/lda/gitea-runner/act_runner `
|
||||||
-ConfigPath /mnt/c/Users/Admin/Documents/realshit/wakey/ar_data/wsl_runner/config.yaml
|
-ConfigPath /mnt/c/Users/Admin/Documents/realshit/wakey/ar_data/wsl_runner/config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
If your distro name is not `FedoraLinux-43`, set it explicitly:
|
If your distro name is not `FedoraLinux-43`, set it explicitly:
|
||||||
|
|||||||
Reference in New Issue
Block a user