1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-05 05:14:17 +01:00

add support for using dhcpcd-bin on Debian

This commit is contained in:
Adam Blackburn
2010-01-14 18:15:05 -10:00
parent 4b5f299254
commit 1ea3cd4ae5

View File

@@ -384,7 +384,11 @@ class BaseInterface(object):
self.dhclient_needs_verbose = True
else:
self.dhclient_needs_verbose = False
self.dhcpcd_cmd = self._find_program_path("dhcpcd")
debian_dhcpcd_cmd = self._find_program_path('dhcpcd-bin')
if debian_dhcpcd_cmd:
self.dhcpcd_cmd = debian_dhcpcd_cmd
else:
self.dhcpcd_cmd = self._find_program_path("dhcpcd")
self.pump_cmd = self._find_program_path("pump")
self.udhcpc_cmd = self._find_program_path("udhcpc")