diff options
author | 2011-07-23 08:31:25 +0000 | |
---|---|---|
committer | 2011-07-23 08:31:25 +0000 | |
commit | 3d14624a49b32a861c7d5bd9ad3c3d6d90e27370 (patch) | |
tree | b90104083dc31a366d16befeca47569f75a58879 | |
parent | mention net.inet6.ip6.rediraccept as well around rtsold_flags. (diff) | |
download | wireguard-openbsd-3d14624a49b32a861c7d5bd9ad3c3d6d90e27370.tar.xz wireguard-openbsd-3d14624a49b32a861c7d5bd9ad3c3d6d90e27370.zip |
uncomment net.inet6.ip6.rediraccept from /etc/sysctl.conf as well if the
user picks up rtsol.
reported in bugs@ by Rene Maroufi (info at maroufi dot net).
bluhm@ ok
-rw-r--r-- | distrib/miniroot/install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh index a2af7462d86..5f55b6ca1ac 100644 --- a/distrib/miniroot/install.sh +++ b/distrib/miniroot/install.sh @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sh,v 1.221 2011/07/04 20:59:05 halex Exp $ +# $OpenBSD: install.sh,v 1.222 2011/07/23 08:31:25 fgsch Exp $ # $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -316,6 +316,8 @@ fi if grep -qs '^rtsol' /mnt/etc/hostname.*; then sed -e "/^#\(net\.inet6\.ip6\.accept_rtadv\)/s//\1/" \ /mnt/etc/sysctl.conf >/tmp/sysctl.conf + sed -e "/^#\(net\.inet6\.ip6\.rediraccept\)/s//\1/" \ + /mnt/etc/sysctl.conf >/tmp/sysctl.conf cp /tmp/sysctl.conf /mnt/etc/sysctl.conf fi |