Bug#253101: Should check for /sbin/dhclient3, not /var/lib/dhcp3
Package: netcfg
Version: 0.67
Severity: minor
In dhcp.c it would be better to do:
if (access("/sbin/dhclient3", F_OK) == 0)
dhcp_client = DHCLIENT3;
than to do (as currently):
if (access("/var/lib/dhcp3", F_OK) == 0)
at line 79. Checking for the daemon executable is more or less
standard practice and it is what the code does for /sbin/dhclient
and for /sbin/pump.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (900, 'unstable'), (700, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro
Reply to: