Save WiFi networks by SSID not PW
This commit is contained in:
parent
110acfc6e2
commit
bd77216ab7
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ if __name__ == '__main__':
|
||||||
for ssid, password in known_networks.items():
|
for ssid, password in known_networks.items():
|
||||||
out_path = '{}/{}.nmconnection'.format(
|
out_path = '{}/{}.nmconnection'.format(
|
||||||
'/etc/NetworkManager/system-connections',
|
'/etc/NetworkManager/system-connections',
|
||||||
password,
|
ssid,
|
||||||
)
|
)
|
||||||
if not os.path.exists(out_path):
|
if not os.path.exists(out_path):
|
||||||
with open(out_path, 'w') as f:
|
with open(out_path, 'w') as f:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue