Name connections by SSID
This commit is contained in:
parent
d51538aac3
commit
617bb1484a
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,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