diff options
author | 2013-03-20 15:26:28 +0000 | |
---|---|---|
committer | 2013-03-20 15:26:28 +0000 | |
commit | 80819bdc6822beb8191f70b3f9f1c720acbda3f0 (patch) | |
tree | a11c993ca38a818dadc5b2c78d1db50fe969da90 | |
parent | revert, that restriction is already enforced the right way (diff) | |
download | wireguard-openbsd-80819bdc6822beb8191f70b3f9f1c720acbda3f0.tar.xz wireguard-openbsd-80819bdc6822beb8191f70b3f9f1c720acbda3f0.zip |
fix lies in netstart; replacement wording from halex@
pointed out by Ryan Kavannagh rak at debian dot org
-rw-r--r-- | etc/netstart | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/netstart b/etc/netstart index d5b7c73be6a..10679415809 100644 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.137 2012/12/05 07:08:38 rpe Exp $ +# $OpenBSD: netstart,v 1.138 2013/03/20 15:26:28 todd Exp $ # Strip comments (and leading/trailing whitespace if IFS is set) # from a file and spew to stdout @@ -252,8 +252,7 @@ if [ "$ip6kernel" = "YES" -a "x$rtsolif" != "x" ]; then fi fi -# /etc/mygate, if it exists, contains the name of my gateway host -# that name must be in /etc/hosts. +# Look for default routes in /etc/mygate. [[ -z $dhcpif ]] && stripcom /etc/mygate | while read gw; do [[ $gw == @(*:*) ]] && continue route -qn delete default > /dev/null 2>&1 |