Browse Source

fix lies in netstart; replacement wording from halex@

pointed out by Ryan Kavannagh rak at debian dot org
OPENBSD_5_4
todd 11 years ago
parent
commit
99a25686c3
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/etc/netstart

+ 2
- 3
src/etc/netstart View File

@ -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


Loading…
Cancel
Save