Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2005 16:44:26 GMT
From:      Radko Keves <rado@daemon.sk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/75808: dhclient is stoped twice in pccard_ether script
Message-ID:  <200501041644.j04GiQ20029841@www.freebsd.org>
Resent-Message-ID: <200501041650.j04GoIgY054195@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         75808
>Category:       bin
>Synopsis:       dhclient is stoped twice in pccard_ether script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 04 16:50:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Radko Keves
>Release:        FreeBSD 5.3-RELEASE-p1 i386
>Organization:
nothing
>Environment:
FreeBSD gaila.emea.cpqcorp.net 5.3-RELEASE-p1 FreeBSD 5.3-RELEASE-p1 #0: Wed Dec  1 01:00:40 CET 2004     root@:/usr/src/sys/i386/compile/angel  i386

>Description:
      dhclient is stoped twice in pccard_ether script

first time in dhclient -rs ${interface}
second time in sh /etc/rc.d/dhclient stop
>How-To-Repeat:
      run pccard_ether <nic> <start|stop>
>Fix:
+ diff -r -u /etc/pccard_ether /etc/pccard_ether-new
--- /etc/pccard_ether   Tue Jan  4 17:38:08 2005
+++ /etc/pccard_ether-new       Tue Jan  4 17:39:01 2005
@@ -65,8 +65,6 @@
        else
                return
        fi
-       /sbin/dhclient -r ${interface}
-       rm -f ${pidfile}
        case ${startstop} in
        [Ss][Tt][Oo][Pp])
                if [ -z "${_nlist}" ]; then

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501041644.j04GiQ20029841>