powershell webhook, pyenv nistaller, changes to install_script.sh

This commit is contained in:
2025-08-08 17:38:09 -06:00
parent cdd4462cd8
commit d3d58a71a3
3 changed files with 12 additions and 7 deletions
+3
View File
@@ -1,4 +1,7 @@
#!/bin/bash #!/bin/bash
# installs the Alpha AWUS036ACH on kali linux
# has some slowdowns and pauses to work around a stupid issuie i have
# make sure environment is up to date # make sure environment is up to date
sudo apt update sudo apt update
# sudo apt upgrade -y # sudo apt upgrade -y
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# from https://askubuntu.com/questions/3299/how-to-run-cron-job-when-network-is-up # from https://askubuntu.com/questions/3299/how-to-run-cron-job-when-network-is-up
# usage in cron # usage in root cron
## @reboot bash /usr/share/customscripts/ifnet "/usr/share/customscripts/webhook bootup" 2>> /var/log/cron.error.log ## @reboot bash /usr/share/customscripts/ifnet "/usr/share/customscripts/webhook bootup" 2>> /var/log/cron.error.log
function check_online function check_online
{ {
+8 -6
View File
@@ -66,11 +66,13 @@ else
fi fi
# configure webhook # configure webhook
# echo "Enter Discord Webhook URL" echo "Enter Discord Webhook URL"
# read url read url
# echo "Enter Tag to Notify" echo "Enter Tag to Notify"
# read tag read tag
# sudo bash -c "echo '$url' > /usr/share/customscripts/webhook.txt" sudo bash -c "echo '$url' > $finalDir/webhook.txt"
# sudo bash -c "echo '$tag' > /usr/share/customscripts/tag.txt" sudo bash -c "echo '$tag' > $finalDir/tag.txt"
sudo rm -f $finalDir/install_script.sh
echo -e "\n\nDone! Restart shell:\n\texec \"\$SHELL\"\n\n" echo -e "\n\nDone! Restart shell:\n\texec \"\$SHELL\"\n\n"