mirror of
https://github.com/gryf/wicd.git
synced 2026-02-20 17:05:46 +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
|
self.dhclient_needs_verbose = True
|
||||||
else:
|
else:
|
||||||
self.dhclient_needs_verbose = False
|
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.pump_cmd = self._find_program_path("pump")
|
||||||
self.udhcpc_cmd = self._find_program_path("udhcpc")
|
self.udhcpc_cmd = self._find_program_path("udhcpc")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user