Subject: misc/11027: /etc/rc.d/network displays non-working arguments in help
To: None <gnats-bugs@gnats.netbsd.org>
From: Gregory McGarry <g.mcgarry@ieee.org>
List: netbsd-bugs
Date: 09/15/2000 16:50:15
>Number:         11027
>Category:       misc
>Synopsis:       /etc/rc.d/network displays list of arguments, but not all the arguments work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 15 16:51:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Gregory McGarry
>Release:        1.5_ALPHA2 <NetBSD-current source date>
>Organization:
>Environment:

NetBSD 1.5_ALPHA2 (CANDEL) #13: Tue Aug 29 09:00:31 EST 2000
    gmcgarry@candel:/storage/CANDEL

>Description:

When /etc/rc.d/network is invoked with no arguments, it provides a
list of valid arguments.  Not all these arguments do something
meaningful, and display an error message which is somewhat bogus.

>How-To-Repeat:

# /etc/rc.d/network
Usage: /etc/rc.d/network [fast|force](start|stop|restart|rcvar)
# /etc/rc.d/network rcvar
# network
/etc/rc.d/network: WARNING $network is not set properly.
$network=NO
# /etc/rc.d/network restart
/etc/rc.d/network: WARNING $network is not set properly.

>Fix:

None provided.
	
>Release-Note:
>Audit-Trail:
>Unformatted: