From b9bef01af3a42c87f213dfa825965e146b4b8966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 19 Dec 2009 16:03:10 +0200 Subject: Get rid of uses of deprecated egrep and fgrep. --- sysconfig/network-scripts/ifup-routes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/ifup-routes') 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 -- cgit v1.2.1