bin/75808: dhclient is stoped twice in pccard_ether script
Radko Keves
rado at daemon.sk
Tue Jan 4 16:50:19 GMT 2005
>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:
More information about the freebsd-bugs
mailing list