From a327a824f7f105b675cea0da717766a69f43f81d Mon Sep 17 00:00:00 2001 From: Adam Blackburn Date: Tue, 22 Dec 2009 18:48:43 -1000 Subject: [PATCH] added dhclient.conf.template and made setup.py install it --- other/dhclient.conf.template | 3 +++ setup.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 other/dhclient.conf.template diff --git a/other/dhclient.conf.template b/other/dhclient.conf.template new file mode 100644 index 0000000..e5ff6b2 --- /dev/null +++ b/other/dhclient.conf.template @@ -0,0 +1,3 @@ +# wicd will replace $_HOSTNAME in the following line with +# the appropriate hostname for this system +send host-name "$_HOSTNAME"; diff --git a/setup.py b/setup.py index 1c8fc63..b65e6b5 100644 --- a/setup.py +++ b/setup.py @@ -473,7 +473,7 @@ try: data = [ (wpath.dbus, ['other/wicd.conf']), (wpath.log, []), - (wpath.etc, []), + (wpath.etc, ['other/dhclient.conf.template']), (wpath.encryption, [('encryption/templates/' + b) for b in os.listdir('encryption/templates') if not b.startswith('.')]), (wpath.networks, []),