Name connections by SSID

This commit is contained in:
2Shirt 2019-06-04 16:54:40 -06:00
parent d51538aac3
commit 617bb1484a
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -63,7 +63,7 @@ if __name__ == '__main__':
for ssid, password in known_networks.items():
out_path = '{}/{}.nmconnection'.format(
'/etc/NetworkManager/system-connections',
password,
ssid,
)
if not os.path.exists(out_path):
with open(out_path, 'w') as f: