plan9.ini: add nora6= option to disable automatic ipv6 configuration
This commit is contained in:
parent
41d4cecf6d
commit
8d9f3906fa
4 changed files with 5 additions and 3 deletions
|
@ -65,7 +65,7 @@ if(test -r /net/ipselftab){
|
||||||
# try /lib/ndb first, then do dhcp/slaac
|
# try /lib/ndb first, then do dhcp/slaac
|
||||||
ip/ipconfig -6 ether $ether
|
ip/ipconfig -6 ether $ether
|
||||||
ip/ipconfig -N ether $ether >[2]/dev/null || @{
|
ip/ipconfig -N ether $ether >[2]/dev/null || @{
|
||||||
ip/ipconfig ether $ether ra6 recvra 1 &
|
test -e /env/nora6 || ip/ipconfig ether $ether ra6 recvra 1 &
|
||||||
ip/ipconfig -h $sysname ether $ether &
|
ip/ipconfig -h $sysname ether $ether &
|
||||||
wait
|
wait
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,7 +66,7 @@ if(test -r /net/ipselftab){
|
||||||
# try /lib/ndb first, then do dhcp/slaac
|
# try /lib/ndb first, then do dhcp/slaac
|
||||||
ip/ipconfig -6 ether $ether
|
ip/ipconfig -6 ether $ether
|
||||||
ip/ipconfig -N ether $ether >[2]/dev/null || @{
|
ip/ipconfig -N ether $ether >[2]/dev/null || @{
|
||||||
ip/ipconfig ether $ether ra6 recvra 1 &
|
test -e /env/nora6 || ip/ipconfig ether $ether ra6 recvra 1 &
|
||||||
ip/ipconfig -h $sysname ether $ether &
|
ip/ipconfig -h $sysname ether $ether &
|
||||||
wait
|
wait
|
||||||
}
|
}
|
||||||
|
|
|
@ -443,6 +443,8 @@ to be present on attach in
|
||||||
or
|
or
|
||||||
.B /boot.
|
.B /boot.
|
||||||
See iwl section above for configuration details.
|
See iwl section above for configuration details.
|
||||||
|
.SS \fLnora6=
|
||||||
|
Disable automatic IPv6 configuration from incoming router advertisements.
|
||||||
.SS DISKS, TAPES
|
.SS DISKS, TAPES
|
||||||
(S)ATA controllers are autodetected.
|
(S)ATA controllers are autodetected.
|
||||||
.SS \fL*nodma=\fP
|
.SS \fL*nodma=\fP
|
||||||
|
|
|
@ -17,7 +17,7 @@ fn confignet{
|
||||||
|
|
||||||
if(~ $1 ether && ~ $#* 2) @{
|
if(~ $1 ether && ~ $#* 2) @{
|
||||||
ip/ipconfig -6 $*
|
ip/ipconfig -6 $*
|
||||||
ip/ipconfig $* ra6 recvra 1 &
|
test -e /env/nora6 || ip/ipconfig $* ra6 recvra 1 &
|
||||||
ip/ipconfig -p $* &
|
ip/ipconfig -p $* &
|
||||||
wait
|
wait
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue