From 0ee8e011c30464b63eac40ac53f83387c4e663e6 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Fri, 8 Aug 2025 18:10:59 -0600 Subject: [PATCH] 1754698259 --- customscripts/alfa_install_kali.sh | 11 +++++++---- customscripts/install_script.sh | 3 --- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/customscripts/alfa_install_kali.sh b/customscripts/alfa_install_kali.sh index e7f87b0..de7d19f 100644 --- a/customscripts/alfa_install_kali.sh +++ b/customscripts/alfa_install_kali.sh @@ -1,6 +1,8 @@ #!/bin/bash # installs the Alpha AWUS036ACH on kali linux # has some slowdowns and pauses to work around a stupid issuie i have +git_dir='/tmp/rtl8812au' +git_repo='https://github.com/aircrack-ng/rtl8812au.git' # make sure environment is up to date sudo apt update @@ -9,16 +11,17 @@ sudo apt update # install dkms and rtl dkms sudo apt-get install dkms -y +sleep 10 # stupid_error sudo apt-get install realtek-rtl88xxau-dkms -y # download the code # catch any submodules, only clone one branch, only download with two jobs to save stress # stupid_error -git clone --recursive --single-branch -jobs 2 https://github.com/aircrack-ng/rtl8812au.git /tmp/rtl8812au +git clone --recursive --single-branch --jobs 2 $git_repo $git_dir sleep 10 # stupid_error # build it -cd /tmp/rtl8812au # enter the dir -make -j 2 # use less juice to compile to save stress # stupid_error +cd $git_dir # enter the dir +make # compile it sleep 10 # stupid_error # install the module @@ -27,7 +30,7 @@ sleep 10 # stupid_error # cleanup cd ~ -rm -rf /tmp/rtl8812au +rm -rf $git_dir sleep 10 # stupid_error sudo apt autoremove -y sudo shutdown -r +1 # reboot in 1 minute \ No newline at end of file diff --git a/customscripts/install_script.sh b/customscripts/install_script.sh index e8dae66..2e29f2b 100644 --- a/customscripts/install_script.sh +++ b/customscripts/install_script.sh @@ -79,9 +79,6 @@ else echo -e "\n\n# automatically added by customscripts installer\nexport PATH=\"\$PATH:$finalDir\"" >> "$rcfile" fi -# set webhook shit -bash $finalDir/configure_webhook.sh - # cleanup sudo rm -f $finalDir/install_script.sh sudo apt autoremove -y