1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 12:28:08 +01:00

add support for copying dhclient.conf.template from a default file if it isn't found

This commit is contained in:
Adam Blackburn
2009-12-23 16:48:39 -10:00
parent a327a824f7
commit fa76ba5a7a
4 changed files with 28 additions and 4 deletions

View File

@@ -473,7 +473,7 @@ try:
data = [
(wpath.dbus, ['other/wicd.conf']),
(wpath.log, []),
(wpath.etc, ['other/dhclient.conf.template']),
(wpath.etc, ['other/dhclient.conf.template.default']),
(wpath.encryption, [('encryption/templates/' + b) for b in
os.listdir('encryption/templates') if not b.startswith('.')]),
(wpath.networks, []),