aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-06-24 13:43:58 -0400
committerBill Nottingham <notting@redhat.com>2010-06-24 13:43:58 -0400
commit9c432bf02d6cb32d6f299f5123b438f485a274bb (patch)
treeb4747719c64f600ddec7313713de5adf8afe6f9c /sysconfig
parent241944a67908d9afa32496ab6f7685d318c4cabc (diff)
downloadinitscripts-9c432bf02d6cb32d6f299f5123b438f485a274bb.tar
initscripts-9c432bf02d6cb32d6f299f5123b438f485a274bb.tar.gz
initscripts-9c432bf02d6cb32d6f299f5123b438f485a274bb.tar.bz2
initscripts-9c432bf02d6cb32d6f299f5123b438f485a274bb.tar.xz
initscripts-9c432bf02d6cb32d6f299f5123b438f485a274bb.zip
Cleanup.
Diffstat (limited to 'sysconfig')
-rw-r--r--sysconfig/network-scripts/network-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 0f6e3600..e72c8098 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -36,8 +36,8 @@ get_config_by_hwaddr ()
get_config_by_subchannel ()
{
LANG=C grep -E -i -l \
- "^[[:space:]]*SUBCHANNELS=['\"]?([0-9]\.[0-9]\.[a-f0-9]+,){0,2}${1}(,[0-9]\.[0-9]\.[a-f0-9]+){0,2}['\"]?([[:space:]]+#|[[:space:]]*$)"
- /\ etc/sysconfig/network-scripts/ifcfg-* \
+ "^[[:space:]]*SUBCHANNELS=['\"]?([0-9]\.[0-9]\.[a-f0-9]+,){0,2}${1}(,[0-9]\.[0-9]\.[a-f0-9]+){0,2}['\"]?([[:space:]]+#|[[:space:]]*$)" \
+ /etc/sysconfig/network-scripts/ifcfg-* \
| LC_ALL=C sed -e "$__sed_discard_ignored_files"
}