diff --git a/customscripts/alfa_install_kali.sh b/customscripts/alfa_install_kali.sh index 4908824..e7f87b0 100644 --- a/customscripts/alfa_install_kali.sh +++ b/customscripts/alfa_install_kali.sh @@ -1,4 +1,7 @@ #!/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 sudo apt update # sudo apt upgrade -y diff --git a/customscripts/ifnet b/customscripts/ifnet index fc8c050..9748f49 100644 --- a/customscripts/ifnet +++ b/customscripts/ifnet @@ -1,6 +1,6 @@ #!/bin/bash # 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 function check_online { diff --git a/customscripts/install_script.sh b/customscripts/install_script.sh index 186f4aa..830aacf 100644 --- a/customscripts/install_script.sh +++ b/customscripts/install_script.sh @@ -66,11 +66,13 @@ else fi # configure webhook -# echo "Enter Discord Webhook URL" -# read url -# echo "Enter Tag to Notify" -# read tag -# sudo bash -c "echo '$url' > /usr/share/customscripts/webhook.txt" -# sudo bash -c "echo '$tag' > /usr/share/customscripts/tag.txt" +echo "Enter Discord Webhook URL" +read url +echo "Enter Tag to Notify" +read tag +sudo bash -c "echo '$url' > $finalDir/webhook.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" \ No newline at end of file