diff options
author | 2005-04-04 04:26:27 +0000 | |
---|---|---|
committer | 2005-04-04 04:26:27 +0000 | |
commit | ad1e63530d090b1daffb7de6b379f03d02410224 (patch) | |
tree | 03cd8ac25351f5261fa0c45759d74619cd9341da | |
parent | ugh. vax has no wscons either; pt out by deraadt@ (diff) | |
download | wireguard-openbsd-ad1e63530d090b1daffb7de6b379f03d02410224.tar.xz wireguard-openbsd-ad1e63530d090b1daffb7de6b379f03d02410224.zip |
unbreak; ok pval@
-rw-r--r-- | etc/netstart | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/netstart b/etc/netstart index 4124431ef2a..4df04f7f2c6 100644 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.103 2005/04/03 19:39:31 deraadt Exp $ +# $OpenBSD: netstart,v 1.104 2005/04/04 04:26:27 djm Exp $ # Strip comments (and leading/trailing whitespace if IFS is set) # from a file and spew to stdout @@ -321,7 +321,7 @@ done # /etc/mygate, if it exists, contains the name of my gateway host # that name must be in /etc/hosts. -if [ "X${setgateway} != X"N" -a -f /etc/mygate ]; then +if [ "X${setgateway}" != X"N" -a -f /etc/mygate ]; then route -qn delete default > /dev/null 2>&1 route -qn add -host default `stripcom /etc/mygate` fi |