Bug 15774 - 'nousb' kernel command line arg ignored
'nousb' kernel command line arg ignored
Status: CLOSED DUPLICATE of bug 15464
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-08 17:39 EDT by Andrew Sheaff
Modified: 2014-03-16 22:15 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-08-08 17:39:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andrew Sheaff 2000-08-08 17:39:29 EDT
rc.sysinit does not recognize the kernel command line argument 'nousb'.

My solution:  On line 148, which reads:

if [  grep -v "nousb" /proc/cmdline 2>/dev/null ]; then

should not be using the test command '[]'.  It should be using the
expression operator '()'.  The line should be:

if (  grep -v "nousb" /proc/cmdline 2>/dev/null ); then
Comment 1 Bill Nottingham 2000-08-08 17:49:55 EDT

*** This bug has been marked as a duplicate of 15464 ***

Note You need to log in before you can comment on or make changes to this bug.