From ahd@kew.com  Mon Aug 10 19:55:50 1998
Received: from kendra.ne.mediaone.net (kendra.ne.mediaone.net [24.128.94.182])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA18461
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 10 Aug 1998 19:55:49 -0700 (PDT)
          (envelope-from ahd@kew.com)
Received: (from ahd@localhost)
	by kendra.ne.mediaone.net (8.9.0/8.9.0) id WAA24333;
	Mon, 10 Aug 1998 22:55:27 -0400 (EDT)
Message-Id: <199808110255.WAA24333@kendra.ne.mediaone.net>
Date: Mon, 10 Aug 1998 22:55:27 -0400 (EDT)
From: software@kew.com
Reply-To: software@kew.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: /etc/pccard_ether doesn't support wide-dhcp
X-Send-Pr-Version: 3.2

>Number:         7568
>Category:       conf
>Synopsis:       pccard_ether doesn't support wide-dhcp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 10 20:00:00 PDT 1998
>Closed-Date:    Thu Aug 13 23:32:03 PDT 1998
>Last-Modified:  Thu Aug 13 23:32:13 PDT 1998
>Originator:     Drew Derbyshire
>Release:        FreeBSD 2.2.7-RELEASE i386
>Organization:
Kendra Electronic Wonderworks
>Environment:

	Portable running 2.2.7 in DHCP enviromment with wide-dhcp

>Description:

	Wrapper script for PC Card Ethernet Adapters only supports ISC DHCP;
	I prefer wide-dhcp, and since both are packages, it should get 
	equal billing.

>How-To-Repeat:

	Set pccard ethernet configuration to DHCP without ISC DHCP on system.

>Fix:
	
*** /etc/pccard_ether   Tue Mar 24 20:56:48 1998
--- pccard_ether        Mon Aug 10 22:23:36 1998
***************
*** 18,25 ****
                        rm /var/run/dhclient.pid
                    fi
                    /usr/local/sbin/dhclient
                else
!                   echo "DHCP client software not available (isc-dhcp2)"
                fi
        else
                interface=$1
--- 18,32 ----
                        rm /var/run/dhclient.pid
                    fi
                    /usr/local/sbin/dhclient
+               elif [ -f /usr/local/sbin/dhcpc ] ; then
+                   if [ -s /var/run/dhcpc.pid ] ; then
+                       kill `cat /var/run/dhcpc.pid`
+                       rm /var/run/dhcpc.pid
+                   fi
+                   /usr/local/sbin/dhcpc $* 
                else
!                   echo "DHCP client software not available"   \
!                       "(wide-dhcp/isc-dhcp2)"
                fi
        else
                interface=$1

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Thu Aug 13 23:32:03 PDT 1998 
State-Changed-Why:  
committed, thanks 
>Unformatted:
