Drop accept_rtadv from installer

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Drop accept_rtadv from installer

Christian Weisgerber
Since net.inet6.ip6.accept_rtadv is gone, the installer shouldn't
set it.

It is not obvious to me that enabling rediraccept is more important
for IPv6 than for IPv4, where we keep is disabled by default.  Do
we want to kill that whole block?

Index: install.sh
===================================================================
RCS file: /cvs/src/distrib/miniroot/install.sh,v
retrieving revision 1.249
diff -u -p -r1.249 install.sh
--- install.sh 16 Jul 2014 08:27:14 -0000 1.249
+++ install.sh 17 Jul 2014 20:50:30 -0000
@@ -312,7 +312,6 @@ fi
 if grep -qs '^rtsol' /mnt/etc/hostname.*; then
  [[ ! -f /mnt/etc/sysctl.conf ]] && \
  echo "# created during install" >/mnt/etc/sysctl.conf
- echo 'net.inet6.ip6.accept_rtadv=1   # 1=Permit IPv6 autoconf (forwarding must be 0)' >>/mnt/etc/sysctl.conf
  echo 'net.inet6.icmp6.rediraccept=1  # 1=Accept IPv6 ICMP redirects (for hosts)' >>/mnt/etc/sysctl.conf
 fi
 
--
Christian "naddy" Weisgerber                          [hidden email]