diff --git a/DREAMMAKER.sh b/DREAMMAKER.sh index b375378..613b290 100644 --- a/DREAMMAKER.sh +++ b/DREAMMAKER.sh @@ -23,15 +23,16 @@ send_discord_webhook() { while true; do #infinite loop # scan for those vendor ids blescan=$(eval "bluetoothctl -t 10 scan on | awk '{print \$3}' | grep ${vendor_ids[@]/#/-e }") - if [ -n "$blescan" ]; then - # LE detected poweroff to cryptdisk and notify - # alert spammmm - for((i=0;i<10;i++)); do - send_discord_webhook "FUZZ!!!" & # fork task to background to run more faster - - # cryptsetup erase # ion case you wanna nuke ur shit lmao - ## these options are powerful, silent, fast, aND RIsky - poweroff --poweroff --force --no-wall # --no-sync - done - fi + + if [ -n "$blescan" ]; then + # LE detected poweroff to cryptdisk and notify + # alert spammmm + for((i=0;i<10;i++)); do + send_discord_webhook "FUZZ!!!" & # fork task to background to run more faster + + # cryptsetup erase # ion case you wanna nuke ur shit lmao + ## these options are powerful, silent, fast, aND RIsky + poweroff --poweroff --force --no-wall # --no-sync + done + fi done \ No newline at end of file diff --git a/README.md b/README.md index 46c13e9..ac9d495 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ shut down and lock (or destory) your box if cops are detected nearby! also spam - Body Cameras, from 2? brands? ## Install -**Requires a linux box with os drive encryption using cryptsetup/luks and alsop bluetoothctl** +**Requires a systemmd linux box with os drive encryption using cryptsetup/luks and alsop bluetoothctl and curl** then instasll/reinstall/upgrade are all the same command: ```bash diff --git a/install_DREAMMAKER.sh b/install_DREAMMAKER.sh index da60f54..c1d8ab8 100644 --- a/install_DREAMMAKER.sh +++ b/install_DREAMMAKER.sh @@ -41,6 +41,14 @@ if [ ! -f "$tag_file" ]; then echo fi +if [ ! $(which bluetoothctl) ]; then + echo -e "\nERROR: bluetoothctl not found! Please install and try again.\n" +fi + +if [ ! $(which CURL) ]; then + echo -e "\nERROR: curl not found! Please install and try again.\n" +fi + # install itt echo "installing service" sudo cp DREAMMAKER.sh "$script_file"