diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2009-12-19 16:03:10 +0200 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-01-12 16:40:46 -0500 |
commit | b9bef01af3a42c87f213dfa825965e146b4b8966 (patch) | |
tree | a992ed745c1e361d9fa040484d4f300e4992973c /sysconfig/network-scripts/ifup-routes | |
parent | 43a7ec311b56f0ba6b06c3d35a53990869153ed5 (diff) | |
download | initscripts-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/ifup-routes')
-rwxr-xr-x | sysconfig/network-scripts/ifup-routes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-routes b/sysconfig/network-scripts/ifup-routes index 1aa7f718..db3e51ea 100755 --- a/sysconfig/network-scripts/ifup-routes +++ b/sysconfig/network-scripts/ifup-routes @@ -30,7 +30,7 @@ MATCH='^[[:space:]]*(\#.*)?$' for file in $FILES; do if [ -f "$file" ]; then - if egrep -q '^[[:space:]]*ADDRESS[0-9]+=' $file ; then + if grep -Eq '^[[:space:]]*ADDRESS[0-9]+=' $file ; then # new format handle_file $file ${1%:*} else |