diff options
author | ume <ume@FreeBSD.org> | 2010-02-03 16:18:42 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2010-02-03 16:18:42 +0000 |
commit | 0b55670b9d71a9fa67a6f45a0e56ad67c615550d (patch) | |
tree | 647a6ac93e4300c39d9f1814eccb039cfcda217d /etc/network.subr | |
parent | 36b8bef13cd6d4e55f86bf271e1e64c417577f7c (diff) | |
download | FreeBSD-src-0b55670b9d71a9fa67a6f45a0e56ad67c615550d.zip FreeBSD-src-0b55670b9d71a9fa67a6f45a0e56ad67c615550d.tar.gz |
Add rc.d script for the rtsold(8) daemon.
The rtsol(8) handles just one RA then exit. So, the OtherConfig flag
may not be handled well by rtsol(8) in the environment where there are
multiple RA servers on the segment. In such case, rtsold(8) will be
your friend.
Reviewed by: hrs
MFC after: 2 weeks
Diffstat (limited to 'etc/network.subr')
-rw-r--r-- | etc/network.subr | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/network.subr b/etc/network.subr index 633559f..fbf3ff9 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -882,7 +882,9 @@ ipv6_accept_rtadv_up() { if ipv6_autoconfif $1; then ifconfig $1 inet6 accept_rtadv up - rtsol ${rtsol_flags} $1 + if ! checkyesno rtsold_enable; then + rtsol ${rtsol_flags} $1 + fi fi } |