mirror of
https://github.com/gryf/wicd.git
synced 2025-12-19 20:38:00 +01:00
A default wired profile is now created when wired-settings.conf is initially generated.
This commit is contained in:
@@ -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