diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2003-04-16 23:47:02 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2003-04-16 23:47:02 +0000 |
commit | 88b8ad8fed12e0334a6d4109fe3d40bf19651fe9 (patch) | |
tree | e9a0b2aad6dee13cf715ef6092aec4a701260f2b /distrib/miniroot/install.sub | |
parent | ed543a052596074c919769a17ea2d3f4235a4323 (diff) |
Always do 'route -n show' not 'route show'. Even saves some space.
From deraadt@
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r-- | distrib/miniroot/install.sub | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index ca06219a1ef..e843546725a 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.293 2003/03/06 04:19:45 david Exp $ +# $OpenBSD: install.sub,v 1.294 2003/04/16 23:47:01 krw Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2003 Todd Miller, Theo de Raadt, Ken Westerback @@ -827,11 +827,10 @@ enable_network() { ifconfig -am # enable the resolver if resolv.conf is available + route -n show if [ -f /etc/resolv.conf ]; then - route show echo "\nResolver enabled." else - route -n show echo "\nResolver not enabled." fi |