From 123a0cd55db12ff5689dc9df045505f00d8c6206 Mon Sep 17 00:00:00 2001 From: pks Date: Wed, 17 Mar 2021 08:45:19 +0100 Subject: net-profile: don't change MAC when using hotspot --- net-profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-profile b/net-profile index a5beaa5..1c16b9f 100755 --- a/net-profile +++ b/net-profile @@ -7,7 +7,7 @@ fi setup_wifi() { - if [[ $1 != "home" ]]; then + if [[ $1 != "home" && $1 != "hotspot" ]]; then sudo macchanger -e $DEV fi sudo wpa_supplicant -i $DEV -c ~/.net_profiles/$1.conf &>/tmp/wpa_supplicant.log & -- cgit v1.2.3