From 34919281a13ccd6bd7e93e33da1c0a82d307a092 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Sun, 8 Aug 2010 21:06:07 +0000 Subject: Revert auto-enabling of apm. Some security implications were not fully appreciated, and no time to work through them. ok deraadt@ --- distrib/miniroot/install.sub | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'distrib/miniroot/install.sub') diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index d50be3b863f..42117e2ee47 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.616 2010/08/08 17:02:14 krw Exp $ +# $OpenBSD: install.sub,v 1.617 2010/08/08 21:06:06 krw Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -68,7 +68,6 @@ # MDDKDEVS - '/^[sw]d[0-9][0-9]* /s/ .*//p' assumed if not provided # MDCDDEVS - '/^cd[0-9][0-9]* /s/ .*//p' assumed if not provided # MDMTDEVS - '/^[cms]t[0-9][0-9]* /s/ .*//p' -# MDAPMDEV - '' assumed if not provided # MDXAPERTURE - set machdep.allowaperture=value in sysctl.conf . install.md @@ -1757,12 +1756,6 @@ server $1 >>/mnt/etc/rc.conf.local fi - if [[ -n $MDAPMD ]]; then - [[ $MDAPMD == y || -n $(egrep "$MDAPMD" /var/run/dmesg.boot) ]] && \ - echo "apmd_flags= # enabled during install" \ - >>/mnt/etc/rc.conf.local - fi - if [[ $defcons == y ]]; then cp /mnt/etc/ttys /tmp/ttys sed -e "/^$CTTY/s/std.9600/std.${CSPEED}/" \ -- cgit v1.2.3