今天在E450上装Solaris 9 9/05时,安装完第一张盘,重启后提示我是否配置电源管理,让机器在空闲30分钟后自动关机.我选择n.如果你这里不小心选择了yes,其实还是有机会把这个自动关机去掉的。
# Copyright (c) 1996 - 2001 by Sun Microsystems, Inc.
# All rights reserved.
#
#
# Power Management Configuration File
#
# This entry keeps removable media from being powered down unless the
# console framebuffer and monitor are powered down
# (See removable-media(9P))
device-dependency-property removable-media /dev/fb
autopm default
statefile //.CPR
# Auto-Shutdown Idle(min) Start/Finish(hh:mm) Behavior
autoshutdown 30 9:00 9:00 noshutdown
change
autoshutdown 30 9:00 9:00 shutdown
to
autoshutdown 30 9:00 9:00 noshutdown
补充:
Probably a better way to deal with this is to simply disable the service completely:
# mv /etc/rc2.d/S85power /etc/rc2.d/s85power
Let's see what is running:
# ps -ef | grep powe
root 246 1 0 Dec 20 ? 0:00 /usr/lib/power/powerd
root 1140 1111 0 01:46:05 pts/1 0:00 grep powe
#
Let's reboot, and make sure our system doesn't start the service again:
# ps -ef | grep powe
root 376 374 0 01:55:13 pts/1 0:00 grep powe
#
唐军 于 2007-07-30 09:41:07发表:
:0L :0L