----------------------- # uname -smrv OpenBSD 5.0 GENERIC.MP#44 i386 # sysctl | grep power hw.allowpowerdown=1
# cat /etc/sysctl.conf | grep power #hw.allowpowerdown=0 # 0=Disable power button shutdown #machdep.apmhalt=1 # 1=powerdown hack, try if halt -p doesn't work ----------------------- 1\ so the machine can shutdown using the power button (press the power button once). should sysctl.conf set default to "hw.allowpowerdown=1 " sync to reality? 2\ # sysctl hw.allowpowerdown=0 sysctl: hw.allowpowerdown: Operation not permitted # this function can only be set when booting?