From ad65249832343bf303bde4c5da081bf287f3a3f9 Mon Sep 17 00:00:00 2001 From: mbr Date: Tue, 12 Aug 2003 22:27:08 +0000 Subject: Remove the dhclient.${interface}.pid defines. They are now obsolete. A working dhclient with OMAPI will also not need this. --- etc/pccard_ether | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'etc') diff --git a/etc/pccard_ether b/etc/pccard_ether index c431cfd..096b28a 100755 --- a/etc/pccard_ether +++ b/etc/pccard_ether @@ -60,11 +60,7 @@ stop_dhcp() { esac done - if [ -s /var/run/dhclient.${interface}.pid ]; then - pidfile="/var/run/dhclient.${interface}.pid" - elif [ -s /var/run/dhcpc.${interface}.pid ]; then - pidfile="/var/run/dhcpc.${interface}.pid" - elif [ -s /var/run/dhclient.pid ]; then + if [ -s /var/run/dhclient.pid ]; then pidfile="/var/run/dhclient.pid" else return @@ -96,10 +92,6 @@ start_dhcp() { [ -n "$dhcp_program" ] && dhclient_program="$dhcp_program" [ -n "$dhcp_flags" ] && dhclient_flags="$dhcp_flags" if [ -x "${dhclient_program}" ]; then - if [ `basename ${dhclient_program}` = "dhclient" ]; then - pidfile="/var/run/dhclient.${interface}.pid" - dhclient_flags="${dhclient_flags} -pf ${pidfile}" - fi ${dhclient_program} ${dhclient_flags} $_dhcplist ${interface} else echo "${dhclient_program}: DHCP client software not available" -- cgit v1.1