From: deraadt Date: Fri, 6 Aug 2010 02:43:57 +0000 (+0000) Subject: document machdep.lidsuspend by example X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=06af67d8e8f6fa3527ab52eb8ed9125f976e6392;p=openbsd document machdep.lidsuspend by example --- diff --git a/etc/etc.amd64/sysctl.conf b/etc/etc.amd64/sysctl.conf index 8921c6aa6b1..976c7757e70 100644 --- a/etc/etc.amd64/sysctl.conf +++ b/etc/etc.amd64/sysctl.conf @@ -1,2 +1,3 @@ #machdep.allowaperture=2 # See xf86(4) #machdep.kbdreset=1 # permit console CTRL-ALT-DEL to do a nice halt +#machdep.lidsuspend=1 # laptop lid closes cause a suspend diff --git a/etc/etc.i386/sysctl.conf b/etc/etc.i386/sysctl.conf index 6443140219a..c549361c85d 100644 --- a/etc/etc.i386/sysctl.conf +++ b/etc/etc.i386/sysctl.conf @@ -1,6 +1,7 @@ #machdep.allowaperture=2 # See xf86(4) #machdep.apmhalt=1 # 1=powerdown hack, try if halt -p doesn't work #machdep.kbdreset=1 # permit console CTRL-ALT-DEL to do a nice halt +#machdep.lidsuspend=1 # laptop lid closes cause a suspend #machdep.userldt=1 # allow userland programs to play with ldt, # required by some ports #kern.emul.aout=1 # enable running dynamic OpenBSD a.out bins