summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-28 13:37:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-28 13:37:55 +0000
commit0dde3613499fde34251185d7b1ba17da6cce6bd7 (patch)
tree4ebba538d04406c154fd16b5784fac111e087a41
parent75f7e58d1b05dca53cd97a08b92b92508dd67fca (diff)
if no default route, set it to "none"
-rw-r--r--distrib/miniroot/install.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh
index 28605c3d0bf..4e3508d7835 100644
--- a/distrib/miniroot/install.sh
+++ b/distrib/miniroot/install.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sh,v 1.37 1998/09/28 13:28:35 deraadt Exp $
+# $OpenBSD: install.sh,v 1.38 1998/09/28 13:37:54 deraadt Exp $
# $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $
#
# Copyright (c) 1997,1998 Todd Miller, Theo de Raadt
@@ -352,6 +352,7 @@ case "$resp" in
grep '^default' |
sed -e 's/^default //' -e 's/ .*//'`
if [ "X${resp}" = "X" ]; then
+ resp=none
if [ -f /tmp/mygate ]; then
resp=`cat /etc/mygate`
if [ "X${resp}" = "X" ]; then