aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-05-04 15:17:06 +0200
committerHarald Hoyer <harald@redhat.com>2009-05-04 16:05:06 +0200
commit4442f115105e0b49ce8fa5f245826eb97951b1f3 (patch)
treebbad2721d9ec775ca5c4f93c4d9b064bdda25a45
parentee709ad88ac3351ebb833138566599568ca55e8d (diff)
downloadinitscripts-4442f115105e0b49ce8fa5f245826eb97951b1f3.tar
initscripts-4442f115105e0b49ce8fa5f245826eb97951b1f3.tar.gz
initscripts-4442f115105e0b49ce8fa5f245826eb97951b1f3.tar.bz2
initscripts-4442f115105e0b49ce8fa5f245826eb97951b1f3.tar.xz
initscripts-4442f115105e0b49ce8fa5f245826eb97951b1f3.zip
fixed SUBCHANNEL grep for s390
-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 fd17fe75..79985e6b 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}${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"
}