added raw list download fixed sum shit too
This commit is contained in:
@@ -59,6 +59,7 @@ script=/tmp/install_script.sh && curl -s https://raw.githubusercontent.com/Princ
|
|||||||
* `xrdp-start`
|
* `xrdp-start`
|
||||||
* `add_apache2_site`
|
* `add_apache2_site`
|
||||||
* `download_file_list`
|
* `download_file_list`
|
||||||
|
* `download_file_list_raw`
|
||||||
* `message_users`
|
* `message_users`
|
||||||
* `UNFUCK_HOMEDIR_PERMS.sh`
|
* `UNFUCK_HOMEDIR_PERMS.sh`
|
||||||
* `pi_create_image`
|
* `pi_create_image`
|
||||||
|
|||||||
@@ -56,5 +56,6 @@ Start-Sleep -Seconds $WaitSeconds
|
|||||||
# Add-Type -AssemblyName PresentationFramework
|
# Add-Type -AssemblyName PresentationFramework
|
||||||
# [System.Windows.MessageBox]::Show("PING WORKING", "$RebootTime", 'OK', 'Error')
|
# [System.Windows.MessageBox]::Show("PING WORKING", "$RebootTime", 'OK', 'Error')
|
||||||
|
|
||||||
# Force reboot with no warning
|
# x Force reboot with no warning
|
||||||
Restart-Computer -Force
|
# Disabled -Force to let apps close gracefully
|
||||||
|
Restart-Computer # -Force
|
||||||
@@ -4,14 +4,31 @@ Set-Location "$media_viewer_dir"
|
|||||||
Write-Host "Sillyfillyy synching media lolee"
|
Write-Host "Sillyfillyy synching media lolee"
|
||||||
|
|
||||||
# get da synciedink
|
# get da synciedink
|
||||||
|
Write-Host "`nSyncing`n"
|
||||||
gitsync
|
gitsync
|
||||||
|
Write-Host "`nSyncing Again`n"
|
||||||
gitsync
|
gitsync
|
||||||
|
|
||||||
# do da synchiedink
|
# do da synchiedink
|
||||||
|
Write-Host "`nDoing the syncy dink`n"
|
||||||
wsl bash full_sync_normalization_wsl.sh bfy
|
wsl bash full_sync_normalization_wsl.sh bfy
|
||||||
|
|
||||||
|
# normieize media
|
||||||
|
Write-Host "`nNormalizing favorites`n"
|
||||||
|
ssh pi3 "bash /var/www/html/Media-Viewer/normalize_favorites.sh"
|
||||||
|
|
||||||
|
# remote esp-idf
|
||||||
|
Write-Host "`nRunning esp-idf-tools update`n"
|
||||||
|
ssh pi3 "bash /home/princesspi/esp/esp-idf-tools/esp-idf-tools-cmd.sh"
|
||||||
|
|
||||||
|
# remote backup
|
||||||
|
Write-Host "`nRunning restic backup`n"
|
||||||
|
ssh pi3 "sudo bash /home/princesspi/.restic/restic_backup.sh"
|
||||||
|
|
||||||
# do more sync at enddy to maek syre it goodywoo
|
# do more sync at enddy to maek syre it goodywoo
|
||||||
|
Write-Host "`nSyncing finaly`n"
|
||||||
gitsync
|
gitsync
|
||||||
|
Write-Host "`nSyncing finaly again`n"
|
||||||
gitsync
|
gitsync
|
||||||
|
|
||||||
Write-Host "aahm done bein a sillyfilly fro noew"
|
Write-Host "aahm done bein a sillyfilly fro noew"
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
links_file_tmp=$(mktemp)
|
||||||
|
nano "$links_file_tmp"
|
||||||
|
cat "$links_file_tmp" | \
|
||||||
|
while read line; do
|
||||||
|
wget "$line"
|
||||||
|
done
|
||||||
|
rm -f "$links_file_tmp"
|
||||||
Reference in New Issue
Block a user