Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2003 09:53:32 +0200 (CEST)
From:      Xander <x+freebsd-gnats@surfnet.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/51955: pccard_ether textual errors
Message-ID:  <200305080753.h487rWOS016059@triplex.phaze-III.sec.nl>
Resent-Message-ID: <200305080850.h488oEGm080534@freefall.freebsd.org>

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

>Number:         51955
>Category:       misc
>Synopsis:       pccard_ether textual errors
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 08 01:50:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Xander
>Release:        FreeBSD 5.1-BETA i386
>Organization:
SURFnet
>Environment:
System: FreeBSD triplex.phaze-III.sec.nl 5.1-BETA FreeBSD 5.1-BETA #2: Wed May 7 21:03:24 CEST 2003 

>Description:
The comment in pccard_ether (rev 1.29) at the top mentions a third argument
for 'ifconfig_option'. This argument appears to be unused in the script.
There's also a typo (delelte) elsewhere in the script.
>How-To-Repeat:
	
>Fix:
The following patch removes the remarks about the ifconfig_option and fixes
the typo. Whether removing the ifconfig_option explanation is the best way
to go is left to the maintainer of course.

--- pccard_ether.rev1.29	Tue May  6 13:38:48 2003
+++ pccard_ether	Thu May  8 09:31:31 2003
@@ -2,9 +2,9 @@
 #
 # $FreeBSD: src/etc/pccard_ether,v 1.29 2003/05/05 19:06:46 ume Exp $
 #
-# pccard_ether interfacename [start|stop] [ifconfig option]
+# pccard_ether interfacename [start|stop]
 #
-# example: pccard_ether ep0 start -link0
+# example: pccard_ether ep0 start
 #
 
 stop_dhcp() {
@@ -156,7 +157,7 @@
 		stop_dhcp
 		;;
 	*)
-		# Delelte static route if specified
+		# Delete static route if specified
 		eval ifx_routes=\$static_routes_${interface}
 		if [ -n "${ifx_routes}" ]; then
 			for i in ${ifx_routes}; do


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



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