aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2008-11-25 14:40:24 +0100
committerHarald Hoyer <harald@redhat.com>2008-11-25 14:40:24 +0100
commit30932b16bb9c41da4fd1f4a2418f370e1f38f19b (patch)
tree8b3d79edf908ad5fbaae84b2be214e4e8216d8af /sysconfig/network-scripts
parentfe48747faa0fe0f473f24d26e9a1059ef96cdb80 (diff)
downloadinitscripts-30932b16bb9c41da4fd1f4a2418f370e1f38f19b.tar
initscripts-30932b16bb9c41da4fd1f4a2418f370e1f38f19b.tar.gz
initscripts-30932b16bb9c41da4fd1f4a2418f370e1f38f19b.tar.bz2
initscripts-30932b16bb9c41da4fd1f4a2418f370e1f38f19b.tar.xz
initscripts-30932b16bb9c41da4fd1f4a2418f370e1f38f19b.zip
fixed typo in get_config_by_subchannel()
Diffstat (limited to 'sysconfig/network-scripts')
-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 1e0aecb4..05d0bca1 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -29,7 +29,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:]]*$)" \
+ "^[[: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"
}