diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-29 07:01:04 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-29 07:01:04 +0000 |
commit | 88dbd2de2fd9a83f7bfc41f63e33a4fcd52c8f26 (patch) | |
tree | 80d4395b28773032ad5ab373e70f8072c56923bf /etc/netstart | |
parent | 2c3f3f38058736ef42335063d21c4481c1a7971f (diff) |
one last route command lacking -qn
Diffstat (limited to 'etc/netstart')
-rw-r--r-- | etc/netstart | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/netstart b/etc/netstart index 1da47a0f52e..bb0c1d1e372 100644 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.96 2004/03/22 04:31:42 mcbride Exp $ +# $OpenBSD: netstart,v 1.97 2004/05/29 07:01:03 deraadt Exp $ # Returns true if $1 contains only alphanumerics isalphanumeric() { @@ -283,7 +283,7 @@ fi # /etc/mygate, if it exists, contains the name of my gateway host # that name must be in /etc/hosts. if [ -f /etc/mygate ]; then - route delete default > /dev/null 2>&1 + route -qn delete default > /dev/null 2>&1 route -qn add -host default `cat /etc/mygate` fi |