A default wired profile is now created when wired-settings.conf is initially generated.
This commit is contained in:
1 parent
d64850dfd3
commit
2cc990b97a
1 file changed
+3
-2
@@ -1212,9 +1212,10 @@ class ConnectionWizard(dbus.service.Object):
|
|||||||
#don't do anything since it is there
|
#don't do anything since it is there
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
print "wired confguration file not found, creating..."
|
print "wired configuration file not found, creating..."
|
||||||
#we don't need to put anything in it, so just make it
|
# Create the file and a default profile
|
||||||
open( self.wired_conf, "w" ).close()
|
open( self.wired_conf, "w" ).close()
|
||||||
|
self.CreateWiredNetworkProfile("wired-default")
|
||||||
#end If
|
#end If
|
||||||
|
|
||||||
#hide the files, so the keys aren't exposed
|
#hide the files, so the keys aren't exposed
|
||||||
|
|||||||
Reference in new issue
Block a user