1
0
mirror of https://github.com/gryf/wicd.git synced 2026-04-24 23:31:26 +02:00

added support for passing parameters to the global scripts

This commit is contained in:
Adam Blackburn
2009-08-09 18:06:33 -05:00
parent 42caa8af87
commit e30071c012
3 changed files with 45 additions and 19 deletions
+1
View File
@@ -1536,6 +1536,7 @@ class WiredDaemon(dbus.service.Object):
profile[x] = misc.Noneify(self.config.get(profilename, x))
profile['use_global_dns'] = bool(profile.get('use_global_dns'))
profile['use_static_dns'] = bool(profile.get('use_static_dns'))
profile['profilename'] = profilename
self.WiredNetwork = profile
self._cur_wired_prof_name = profilename
return "100: Loaded Profile"