diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2014-07-21 20:43:01 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2014-07-21 20:43:01 +0000 |
commit | 76338e815bfd846c873988796526d469daa23b34 (patch) | |
tree | 2011debd613e211ea3ad48ea90f34eb5f818ce0c /distrib/miniroot | |
parent | c9afb6cdce677d81f7970d8d00ba3e111cb3a491 (diff) |
Bring back net.inet6.icmp6.rediraccept for rtsol. Pointed out by
bluhm@ three days ago, oops.
Diffstat (limited to 'distrib/miniroot')
-rw-r--r-- | distrib/miniroot/install.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh index bfa52c0f23a..0366e4c2ee3 100644 --- a/distrib/miniroot/install.sh +++ b/distrib/miniroot/install.sh @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sh,v 1.250 2014/07/21 20:34:14 naddy Exp $ +# $OpenBSD: install.sh,v 1.251 2014/07/21 20:43:00 naddy 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 @@ -309,5 +309,11 @@ fi print -r -- "$rootkey" >> /mnt/root/.ssh/authorized_keys ) +if grep -qs '^rtsol' /mnt/etc/hostname.*; then + [[ ! -f /mnt/etc/sysctl.conf ]] && \ + echo "# created during install" >/mnt/etc/sysctl.conf + echo 'net.inet6.icmp6.rediraccept=1 # 1=Accept IPv6 ICMP redirects (for hosts)' >>/mnt/etc/sysctl.conf +fi + # Perform final steps common to both an install and an upgrade. finish_up |