summaryrefslogtreecommitdiff
path: root/net-profile
diff options
context:
space:
mode:
authorpks <pks@pks.rocks>2021-03-17 08:45:19 +0100
committerpks <pks@pks.rocks>2021-03-17 08:45:19 +0100
commit123a0cd55db12ff5689dc9df045505f00d8c6206 (patch)
tree1d936bae4bf91c7f96f8777e4715a499743be488 /net-profile
parent42bcdcdfe7090588331f200b1a11c7c3d4dd1cda (diff)
net-profile: don't change MAC when using hotspot
Diffstat (limited to 'net-profile')
-rwxr-xr-xnet-profile2
1 files changed, 1 insertions, 1 deletions
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 &