From 0814ee318327cf818d77df5e4f7454f05bb7816f Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sun, 24 Jul 2016 12:40:09 +0200 Subject: [PATCH] finalize --- smashbroshaxer | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/smashbroshaxer b/smashbroshaxer index 4287151..9e69617 100755 --- a/smashbroshaxer +++ b/smashbroshaxer @@ -13,7 +13,7 @@ else YAD=${basedir}/bin/yad.32 AIREPLAY=${basedir}/bin/aireplay-ng.32 fi -smash_my_hax () { +hax_my_smash () { x-terminal-emulator -e /bin/bash -c \ "sudo ifconfig ${device} down && \ @@ -79,7 +79,7 @@ interactive_mode () { replay=${basedir}/pcap/${array[1]} case ${ret} in - 0 ) smash_my_hax ;; + 0 ) hax_my_smash ;; 2 ) open_3ds_homebrew ;; @@ -116,10 +116,10 @@ usage: if [[ -f ${2} ]]; then replay=$(readlink -m ${2}) - else echo -e "\nspecified replay ${2} is not a pcap replay!\n" + else echo -e "\nspecified replay ${2} does not exist!\n" exit 1 fi - smash_my_hax + hax_my_smash ;; esac