aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2009-12-19 16:03:10 +0200
committerBill Nottingham <notting@redhat.com>2010-01-12 16:40:46 -0500
commitb9bef01af3a42c87f213dfa825965e146b4b8966 (patch)
treea992ed745c1e361d9fa040484d4f300e4992973c /sysconfig/network-scripts/network-functions
parent43a7ec311b56f0ba6b06c3d35a53990869153ed5 (diff)
downloadinitscripts-b9bef01af3a42c87f213dfa825965e146b4b8966.tar
initscripts-b9bef01af3a42c87f213dfa825965e146b4b8966.tar.gz
initscripts-b9bef01af3a42c87f213dfa825965e146b4b8966.tar.bz2
initscripts-b9bef01af3a42c87f213dfa825965e146b4b8966.tar.xz
initscripts-b9bef01af3a42c87f213dfa825965e146b4b8966.zip
Get rid of uses of deprecated egrep and fgrep.
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-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 02009c2c..e357c0f2 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 \
+ 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-* \
| LC_ALL=C sed -e "$__sed_discard_ignored_files"