diff options
author | Harald Hoyer <harald@redhat.com> | 2008-11-12 11:28:18 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2008-11-12 11:28:18 +0100 |
commit | e5367ee63ac04bb7bfd807c6183376c346530b7a (patch) | |
tree | 0ff31e859fe7a98bdd1875e7bdebe1f89424213c /sysconfig/network-scripts | |
parent | f12f577f9e9e0f35b655478f26c2daf27a5d1c37 (diff) | |
download | initscripts-e5367ee63ac04bb7bfd807c6183376c346530b7a.tar initscripts-e5367ee63ac04bb7bfd807c6183376c346530b7a.tar.gz initscripts-e5367ee63ac04bb7bfd807c6183376c346530b7a.tar.bz2 initscripts-e5367ee63ac04bb7bfd807c6183376c346530b7a.tar.xz initscripts-e5367ee63ac04bb7bfd807c6183376c346530b7a.zip |
fixed SUBCHANNEL grep for s390
Diffstat (limited to 'sysconfig/network-scripts')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index f3086026..7fb0f8f3 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 -l "^[[:space:]]*SUBCHANNELS=([0-9]+,){0,2}${1}(,[0-9]+){0,2}([[:space:]]+#|[[:space:]]*$)" /etc/sysconfig/network-scripts/ifcfg-* \ + LANG=C egrep -l "^[[:space:]]*SUBCHANNELS=([0-9.]+,){0,2}${1}(,[0-9.]+){0,2}([[:space:]]+#|[[:space:]]*$)" /etc/sysconfig/network-scripts/ifcfg-* \ | LC_ALL=C sed -e "$__sed_discard_ignored_files" } |