mirror of
https://github.com/gryf/wicd.git
synced 2026-01-07 06:14:16 +01:00
Add possibility to pass extra arguments to the DHCP client commands, and use this option when a global DNS server has been set, to avoid resolv.conf being overwritten by the DHCP client when receiving a DHCP reply that contains a DNS server.
This should fix https://bugs.launchpad.net/wicd/+bug/145405. Credits for the original patch go to "Leonardo" :-) Plus, translations...
This commit is contained in:
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -14,8 +14,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/be.po
4
po/be.po
@@ -14,8 +14,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
msgid ""
|
||||
|
||||
4
po/bg.po
4
po/bg.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/ca.po
4
po/ca.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/cs.po
4
po/cs.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/cy.po
4
po/cy.po
@@ -14,8 +14,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
msgid ""
|
||||
|
||||
4
po/da.po
4
po/da.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/de.po
4
po/de.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/el.po
4
po/el.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/en.po
4
po/en.po
@@ -14,8 +14,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -14,8 +14,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/eo.po
4
po/eo.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/es.po
4
po/es.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/et.po
4
po/et.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/eu.po
4
po/eu.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/fa.po
4
po/fa.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/fi.po
4
po/fi.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/fr.po
4
po/fr.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/gl.po
4
po/gl.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/he.po
4
po/he.po
@@ -16,8 +16,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/hr.po
4
po/hr.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/hu.po
4
po/hu.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/id.po
4
po/id.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/it.po
4
po/it.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/ja.po
4
po/ja.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/ka.po
4
po/ka.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/kk.po
4
po/kk.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:43+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/ko.po
4
po/ko.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/lt.po
4
po/lt.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/lv.po
4
po/lv.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/ml.po
4
po/ml.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/nb.po
4
po/nb.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/nl.po
4
po/nl.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2015-01-15 05:39+0000\n"
|
||||
"X-Generator: Launchpad (build 17303)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 05:59+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/nn.po
4
po/nn.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/pl.po
4
po/pl.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/pt.po
4
po/pt.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/ro.po
4
po/ro.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/ru.po
4
po/ru.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/si.po
4
po/si.po
@@ -14,8 +14,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
msgid ""
|
||||
|
||||
4
po/sk.po
4
po/sk.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/sl.po
4
po/sl.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/sr.po
4
po/sr.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/sv.po
4
po/sv.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/te.po
4
po/te.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/tr.po
4
po/tr.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2015-01-03 05:41+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:00+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/uk.po
4
po/uk.po
@@ -13,8 +13,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
4
po/vi.po
4
po/vi.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-12-28 05:44+0000\n"
|
||||
"X-Generator: Launchpad (build 17286)\n"
|
||||
"X-Launchpad-Export-Date: 2015-02-13 06:01+0000\n"
|
||||
"X-Generator: Launchpad (build 17336)\n"
|
||||
"Generated-By: Babel 0.9.6\n"
|
||||
|
||||
#: gtk/wicd-client.py:610
|
||||
|
||||
@@ -476,7 +476,13 @@ class ConnectThread(threading.Thread):
|
||||
else:
|
||||
hname = None
|
||||
print "Running DHCP with NO hostname"
|
||||
dhcp_status = iface.StartDHCP(hname)
|
||||
|
||||
# Check if a global DNS is configured. If it is, then let the DHCP know *not* to update resolv.conf
|
||||
staticdns = False
|
||||
if self.network.get('use_global_dns') or (self.network.get('use_static_dns') and (self.network.get('dns1') or self.network.get('dns2') or self.network.get('dns3'))):
|
||||
staticdns = True
|
||||
|
||||
dhcp_status = iface.StartDHCP(hname, staticdns)
|
||||
if dhcp_status in ['no_dhcp_offers', 'dhcp_failed']:
|
||||
if self.connect_result != "aborted":
|
||||
self.abort_connection(dhcp_status)
|
||||
|
||||
@@ -296,7 +296,7 @@ class BaseInterface(object):
|
||||
return path
|
||||
|
||||
|
||||
def _get_dhcp_command(self, flavor=None, hostname=None):
|
||||
def _get_dhcp_command(self, flavor=None, hostname=None, staticdns=False):
|
||||
""" Returns the correct DHCP client command.
|
||||
|
||||
Given a type of DHCP request (create or release a lease),
|
||||
@@ -333,26 +333,26 @@ class BaseInterface(object):
|
||||
|
||||
client_dict = {
|
||||
"dhclient" :
|
||||
{'connect' : r"%(cmd)s -cf %(dhclientconf)s %(iface)s",
|
||||
'connect_with_hostname' : r"%(cmd)s -cf %(dhclientconf)s %(iface)s",
|
||||
{'connect' : r"%(cmd)s -cf %(dhclientconf)s %(extra)s %(iface)s",
|
||||
'connect_with_hostname' : r"%(cmd)s -cf %(dhclientconf)s %(extra)s %(iface)s",
|
||||
'release' : r"%(cmd)s -r %(iface)s",
|
||||
'id' : misc.DHCLIENT,
|
||||
},
|
||||
"pump" :
|
||||
{ 'connect' : r"%(cmd)s -i %(iface)s",
|
||||
'connect_with_hostname' : r"%(cmd)s -i %(iface)s -h %(hostname)s",
|
||||
{ 'connect' : r"%(cmd)s -i %(iface)s %(extra)s",
|
||||
'connect_with_hostname' : r"%(cmd)s -i %(iface)s -h %(hostname)s %(extra)s",
|
||||
'release' : r"%(cmd)s -r -i %(iface)s",
|
||||
'id' : misc.PUMP,
|
||||
},
|
||||
"dhcpcd" :
|
||||
{'connect' : r"%(cmd)s --noipv4ll %(iface)s",
|
||||
'connect_with_hostname' : r"%(cmd)s -h %(hostname)s --noipv4ll %(iface)s ",
|
||||
{'connect' : r"%(cmd)s --noipv4ll %(extra)s %(iface)s",
|
||||
'connect_with_hostname' : r"%(cmd)s -h %(hostname)s --noipv4ll %(extra)s %(iface)s ",
|
||||
'release' : r"%(cmd)s -k %(iface)s",
|
||||
'id' : misc.DHCPCD,
|
||||
},
|
||||
"udhcpc":
|
||||
{'connect' : r"%(cmd)s -n -i %(iface)s",
|
||||
'connect_with_hostname' : r"%(cmd)s -n -i %(iface)s -H %(hostname)s ",
|
||||
{'connect' : r"%(cmd)s -n -i %(iface)s %(extra)s",
|
||||
'connect_with_hostname' : r"%(cmd)s -n -i %(iface)s -H %(hostname)s %(extra)s",
|
||||
'release' : r"killall -SIGUSR2 %(cmd)s",
|
||||
'id' : misc.UDHCPC,
|
||||
},
|
||||
@@ -388,16 +388,25 @@ class BaseInterface(object):
|
||||
return ""
|
||||
|
||||
if flavor == "connect":
|
||||
|
||||
# set up (optional) extra arguments to the dhcp client,
|
||||
# used for disabling the resolv.conf update of dhcpd
|
||||
extra_args = ""
|
||||
if staticdns and client_name == "dhcpcd":
|
||||
extra_args = "--nohook resolv.conf"
|
||||
|
||||
if hostname:
|
||||
return client_dict[client_name]['connect_with_hostname'] % \
|
||||
{ "cmd" : cmd,
|
||||
"iface" : self.iface,
|
||||
"hostname" : hostname,
|
||||
'extra': extra_args,
|
||||
'dhclientconf' : dhclient_conf_path }
|
||||
else:
|
||||
return client_dict[client_name]['connect'] % \
|
||||
{ "cmd" : cmd,
|
||||
"iface" : self.iface,
|
||||
'extra': extra_args,
|
||||
'dhclientconf' : dhclient_conf_path }
|
||||
elif flavor == "release":
|
||||
return client_dict[client_name]['release'] % \
|
||||
@@ -655,7 +664,7 @@ class BaseInterface(object):
|
||||
return 'dhcp_failed'
|
||||
|
||||
@neediface(False)
|
||||
def StartDHCP(self, hostname):
|
||||
def StartDHCP(self, hostname, staticdns):
|
||||
""" Start the DHCP client to obtain an IP address.
|
||||
|
||||
Keyword Arguments:
|
||||
@@ -666,7 +675,7 @@ class BaseInterface(object):
|
||||
_check_dhcp_result for the possible values.
|
||||
|
||||
"""
|
||||
cmd = self._get_dhcp_command('connect', hostname)
|
||||
cmd = self._get_dhcp_command('connect', hostname, staticdns)
|
||||
if self.verbose:
|
||||
print cmd
|
||||
self.dhcp_object = misc.Run(cmd, include_stderr=True, return_obj=True)
|
||||
|
||||
Reference in New Issue
Block a user