1
0
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:
imdano
2008-01-06 21:20:15 +00:00
parent d64850dfd3
commit 2cc990b97a

View File

@@ -1212,9 +1212,10 @@ class ConnectionWizard(dbus.service.Object):
#don't do anything since it is there
pass
else:
print "wired confguration file not found, creating..."
#we don't need to put anything in it, so just make it
print "wired configuration file not found, creating..."
# Create the file and a default profile
open( self.wired_conf, "w" ).close()
self.CreateWiredNetworkProfile("wired-default")
#end If
#hide the files, so the keys aren't exposed