aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2008-11-12 13:38:33 +0100
committerHarald Hoyer <harald@redhat.com>2008-11-12 13:38:33 +0100
commit346c4f8f35eccf9373a85e1a4a364ae9426aff6d (patch)
tree2409d9f7b38aafde2d90cf1bb8944e62e2a764e9
parent826b67e541f7e47a475016aa8d5c0c84f28ed566 (diff)
downloadinitscripts-346c4f8f35eccf9373a85e1a4a364ae9426aff6d.tar
initscripts-346c4f8f35eccf9373a85e1a4a364ae9426aff6d.tar.gz
initscripts-346c4f8f35eccf9373a85e1a4a364ae9426aff6d.tar.bz2
initscripts-346c4f8f35eccf9373a85e1a4a364ae9426aff6d.tar.xz
initscripts-346c4f8f35eccf9373a85e1a4a364ae9426aff6d.zip
fixed SUBCHANNEL grep for s390initscripts-8.45.25-1
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 553d55ec..fd17fe75 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -28,7 +28,7 @@ get_config_by_hwaddr ()
get_config_by_subchannel ()
{
- LANG=C egrep -i -l "^[[:space:]]*SUBCHANNELS=([0-9].[0-9].[a-f0-9]+,){0,2}${t}(,[0-9].[0-9].[a-f0-9]+){0,2}([[:space:]]+#|[[:space:]]*$)" /etc/sysconfig/network-scripts/ifcfg-* \
+ LANG=C egrep -i -l "^[[:space:]]*SUBCHANNELS=([0-9]\.[0-9]\.[a-f0-9]+,){0,2}${t}(,[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"
}