Bug 45364
Summary: | network-scripts broken in 5.90-1 | ||
---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Enrico Scholz <rh-bugzilla> |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED RAWHIDE | QA Contact: | Brock Organ <borgan> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | CC: | rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-06-21 14:55:17 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Enrico Scholz
2001-06-21 14:52:02 UTC
| return `iwconfig $1 2>&1 | grep -q -v "no wireless extensions"` is bad (but working). Better write: | iwconfig $1 2>&1 | grep -q -v "no wireless extensions" | return $? where $? can be omitted. Thanks, will be fixed in 5.91-1. Sorry. my proposal is faulty: iwconfig gives out an additional empty which is matched by the `grep -qv'. Therefore grep succeeds there evrytime. ------------------------- is_wireless_device () { if [ -x /sbin/iwconfig ]; then iwconfig $1 2>&1 | grep -q "no wireless extensions" || return 0 fi return 1 } ------------------------- should work (I hope ;) ) added in 5.93-1 - thanks! |