mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
If MAC is left empty, we don't write it to config.
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -208,7 +208,8 @@ def pwnagotchi_cli():
|
|||||||
ssid = input("SSID (Name): ")
|
ssid = input("SSID (Name): ")
|
||||||
bssid = input("BSSID (MAC): ")
|
bssid = input("BSSID (MAC): ")
|
||||||
f.write(f"\t\"{ssid}\",\n")
|
f.write(f"\t\"{ssid}\",\n")
|
||||||
f.write(f"\t\"{bssid}\",\n")
|
if bssid != "":
|
||||||
|
f.write(f"\t\"{bssid}\",\n")
|
||||||
f.write("]\n")
|
f.write("]\n")
|
||||||
# set bluetooth tether
|
# set bluetooth tether
|
||||||
pwn_bluetooth = input("Do you want to enable BT-Tether?\n\n"
|
pwn_bluetooth = input("Do you want to enable BT-Tether?\n\n"
|
||||||
|
Reference in New Issue
Block a user