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:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user