From owner-freebsd-bugs@FreeBSD.ORG Tue Jan 4 09:50:26 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C60A16A4CE for ; Tue, 4 Jan 2005 09:50:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED4C843D46 for ; Tue, 4 Jan 2005 09:50:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j049oPjl007158 for ; Tue, 4 Jan 2005 09:50:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j049oP56007157; Tue, 4 Jan 2005 09:50:25 GMT (envelope-from gnats) Resent-Date: Tue, 4 Jan 2005 09:50:25 GMT Resent-Message-Id: <200501040950.j049oP56007157@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Radko Keves Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0533516A4CE for ; Tue, 4 Jan 2005 09:42:00 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id E557D43D55 for ; Tue, 4 Jan 2005 09:41:59 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j049fxwN082525 for ; Tue, 4 Jan 2005 09:41:59 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j049fxFI082524; Tue, 4 Jan 2005 09:41:59 GMT (envelope-from nobody) Message-Id: <200501040941.j049fxFI082524@www.freebsd.org> Date: Tue, 4 Jan 2005 09:41:59 GMT From: Radko Keves To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: bin/75786: typo and useless part in /etc/pccard_ether X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2005 09:50:26 -0000 >Number: 75786 >Category: bin >Synopsis: typo and useless part in /etc/pccard_ether >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 04 09:50:25 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Radko Keves >Release: FreeBSD 5.3-RELEASE-p1 i386 >Organization: nothing >Environment: FreeBSD gaila 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: There is a typo in /etc/pccard_ether file and one part which is probably not used in this moment. As is said in /etc/devd.conf For ethernet like devices, the default is to run dhclient. Due to a historical accident, this script is called pccard_ether. In this moment pccard_ether isn't working, this can be problem in many cases. >How-To-Repeat: Run: /etc/pccard_ether >Fix: --- /etc/pccard_ether Tue Nov 9 15:34:37 2004 +++ /etc/pccard_ether.fixed Sat Jan 1 14:04:42 2005 @@ -123,18 +123,8 @@ interface=$1 shift -startstop=$1 +startstop=$2 shift - -case ${pccard_ifconfig} in -[Nn][Oo] | '') - expr "${removable_interfaces}" : ".*${interface}" > /dev/null || exit 0 - ;; -*) - # Backward compatible - eval ifconfig_${interface}=\${pccard_ifconfig} - ;; -esac >Release-Note: >Audit-Trail: >Unformatted: