Updated readme make fil;e and fixed bug with NM perms when not existing
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#!/bin/bash
|
||||
#Set perrmissons for saved networks in NetworkManager
|
||||
chmod 600 /etc/NetworkManager/system-connections/*.nmconnection
|
||||
#Set perrmissons for saved networks in NetworkManager, if configs exist
|
||||
|
||||
if ls /etc/NetworkManager/system-connections/*.nmconnection 1> /dev/null 2>&1 ; then
|
||||
chmod 600 /etc/NetworkManager/system-connections/*.nmconnection
|
||||
fi
|
||||
Reference in New Issue
Block a user