remove ip6defaultif configuration. because:
- ndp is in /usr/sbin, chokes on NFS-mounted /usr installation - the option is just for IPv6 specification geek, not for normal users
This commit is contained in:
parent
568a487125
commit
c60ddc2403
@ -1,4 +1,4 @@
|
||||
# $NetBSD: rc.conf,v 1.85 2000/06/13 16:29:53 itojun Exp $
|
||||
# $NetBSD: rc.conf,v 1.86 2000/06/20 16:48:14 itojun Exp $
|
||||
#
|
||||
# see rc.conf(5) for more information.
|
||||
|
||||
@ -68,7 +68,6 @@ dhclient_flags="" # blank: config all interfaces
|
||||
ntpdate=NO ntpdate_hosts="" # blank: hosts in /etc/ntp.conf
|
||||
ppp_peers="" # /etc/ppp/peers to call
|
||||
ip6mode=host # host, autohost or router
|
||||
ip6defaultif="" # for ip6mode=host/autohost only
|
||||
rtsol=NO rtsol_flags="" # for ip6mode=autohost only
|
||||
|
||||
# Daemons required by servers. These are not needed for strictly client use.
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: network,v 1.12 2000/06/20 08:34:33 enami Exp $
|
||||
# $NetBSD: network,v 1.13 2000/06/20 16:48:19 itojun Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: network
|
||||
@ -270,16 +270,10 @@ network_start()
|
||||
autohost)
|
||||
echo 'IPv6 mode: autoconfigured host'
|
||||
sysctl -w net.inet6.ip6.accept_rtadv=1 >/dev/null
|
||||
if [ -n "$ip6defaultif" ]; then
|
||||
ndp -I $ip6defaultif
|
||||
fi
|
||||
;;
|
||||
|
||||
host)
|
||||
echo 'IPv6 mode: host'
|
||||
if [ -n "$ip6defaultif" ]; then
|
||||
ndp -I $ip6defaultif
|
||||
fi
|
||||
;;
|
||||
|
||||
*) echo 'WARNING: invalid value in ip6mode'
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: rc.conf.5,v 1.32 2000/06/13 16:33:18 itojun Exp $
|
||||
.\" $NetBSD: rc.conf.5,v 1.33 2000/06/20 16:48:21 itojun Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1996 Matthew R. Green
|
||||
.\" Copyright (c) 1997 Curt J. Sampson
|
||||
@ -325,22 +325,6 @@ and
|
||||
.Sy rtsold
|
||||
as well, if you set the variable to
|
||||
.Li autohost .
|
||||
.It Sy ip6defaultif
|
||||
This configuration is just for very rare case, you can leave it empty.
|
||||
IPv6 neighbor discovery specification (RFC2461 section 5.2)
|
||||
says that if you have no router known to you,
|
||||
you need to treat all the destination as being on-link.
|
||||
.Sy ip6defaultif
|
||||
configures the outgoing interface in this situation.
|
||||
See
|
||||
.Xr ndp 8 ,
|
||||
option
|
||||
.Fl I
|
||||
for more detail.
|
||||
The setting is for IPv6 hosts only.
|
||||
It will be ignored if
|
||||
.Sy ip6mode is set to
|
||||
.Li router .
|
||||
.It Sy rtsol
|
||||
YES or NO.
|
||||
Run
|
||||
|
Loading…
Reference in New Issue
Block a user