On sparc64 we also need to match machfb(4) in addition to vgafb(4) so let's
just match any driver.
ok halex@, deraadt@
-# $OpenBSD: install.sub,v 1.787 2014/07/28 05:42:26 rpe Exp $
+# $OpenBSD: install.sub,v 1.788 2014/07/28 14:12:14 kettenis Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
# All rights reserved.
xdm=
lidsuspend=
if [[ -n $DISPLAY ]]; then
- if [[ -n $(scan_dmesg '/^vga.*: aperture needed/p') ]]; then
+ if [[ -n $(scan_dmesg '/^[a-z]*[01]: aperture needed/p') ]]; then
ask_yn "Do you expect to run the X Window System?" yes &&
aperture=$MDXAPERTURE
fi