aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2002-07-10 08:26:06 +0000
committerFlorian La Roche <laroche@redhat.com>2002-07-10 08:26:06 +0000
commit95ef94bed21f6812e2d879d354604c46b51b4016 (patch)
tree1fb0f7cefeeea2af930ddba518e4991be5139b0a /sysconfig/network-scripts
parent9e3fb5cae87f8d800c065d536d9ba4c8cdcce6c3 (diff)
downloadinitscripts-95ef94bed21f6812e2d879d354604c46b51b4016.tar
initscripts-95ef94bed21f6812e2d879d354604c46b51b4016.tar.gz
initscripts-95ef94bed21f6812e2d879d354604c46b51b4016.tar.bz2
initscripts-95ef94bed21f6812e2d879d354604c46b51b4016.tar.xz
initscripts-95ef94bed21f6812e2d879d354604c46b51b4016.zip
* Tue Jul 09 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- allow an option for ups poweroff #68123 - change grep for ONBOOT= #63903 - allow building with a cross-compiler #64362,#64255 - faster check in network-functions:check_default_route()
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 5d84102d..c54be9a3 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -153,7 +153,7 @@ check_link_down ()
check_default_route ()
{
- LC_ALL=C ip route | grep -q default
+ LC_ALL=C ip route list match 0/0 | grep -q default
}
find_gateway_dev ()