Blob Blame History Raw
APMSCRIPTS=/etc/sysconfig/apm-scripts

# make an entry in the logfiles whenever the percentage of
# battery power changes below the value specified here
LOGPERCENTCHANGE=10

# warn on specified remainig battery percentage, use negative values
# to disable this feature
WARNPERCENT=5

# use -W to warn all users in a critical power state
ADDPARAMS="-W"

# if you have problems with your X display after returning from suspend mode
# give CHANGEVT the number of the virtual terminal your X-Server runs on
#CHANGEVT="7"

# If you set this to yes, the clock will be synced with the hardware clock
# when the computer returns from suspend mode.
CLOCK_SYNC="yes"

# Some broken BIOSes, like those found in early Gericom 3xC notebooks,
# won't wake up harddisks from suspend to disk unless they're set to PIO mode
# and 16-bit.
# Don't activate the following two lines unless you're getting
# "hda: lost interrupt" after returning from a suspend to disk.
#HDPARM_AT_SUSPEND="-q -X0 -q -c0 -q -d0 -q -u0 -q -S0"
#HDPARM_AT_RESUME="-q -X66 -q -c1 -q -d1 -q -u1 -q -S30"

# the error-beep of your terminal might be set to the default values after a
# resume so set TERMINALBEEP to "yes" to restore the values in
# /etc/sysconfig/keyboard
TERMINALBEEP="no"

# if your sound sometimes doesn't work after a resume set RESTORESOUND to "yes";
# this will kill all sound applications, remove and start the $SOUNDMODULES
# again, and, if you also set $RESTORESOUNDPROGS to "yes", restart the
# sound applications as the correct user and on the correct display
RESTORESOUND="no"
RESTORESOUNDPROGS="no"

# some services might need restarting after a suspend/resume cycle - for
# example, named will shut down if all network interfaces go down.
# Any valid service (as in "ls /etc/init.d/") can be listed, and will be
# restarted if it was running at suspend time.
RESTORESERVICES="named amd"

# I got frequent problems mainly with scsi-pcmcia-cards on the cardbus. Use
# PCMCIARESTART="yes" to stop the whole pcmcia-subsystem on a suspend and
# to start it again after a resume. This can slow down your suspend and resume
# process. Use PCMCIAWAIT to wait with the suspend until the pccard is removed
# from the system.
# Some BIOSes are too buggy to handle cardctl suspend and cardctl resume
# properly, in these cases cardctl eject and cardctl insert can be used instead.
# However, this actually ejects the card on hardware supporting it, so if
# the BIOS isn't buggy, it shouldn't be used. Set PCMCIABIOSBUG to yes if
# you are experiencing problems with PCMCIA cards after a resume.
# Since buggy BIOSes seem to be far more common than hardware that can eject
# PCMCIA cards (and it doesn't make a difference on systems that don't have
# either), it is enabled by default.
PCMCIARESTART="no"
PCMCIABIOSBUG="yes"
PCMCIAWAIT="no"

# Set ANACRON_ON_BATTERY to yes if you want to run anacron after a resume even
# if you're on battery power.
ANACRON_ON_BATTERY="no"

# Set LOCK_X to yes if you want to lock all your X displays at suspend
LOCK_X="no"

# If NET_RESTART is set to yes, the network will be shut down at suspend and
# restarted at resume.
# This is especially useful if you're using DHCP, but usually won't hurt.
NET_RESTART="yes"

# If NETFS_RESTART is set to yes, NFS filesystems will be unmounted at
# suspend, and remounted at resume (if possible).
NETFS_RESTART="yes"

# If you wish to stop any services when going to battery power (and restart them when
# going to line power), list them in POWER_SERVICES.
# Any service started using the init scripts can be listed (the APM script runs
# "/sbin/service ... stop" for each of the services).
# If you want to stop/restart any services that are not started by the init system,
# use an apmcontinue script.
#POWER_SERVICES="atd crond"

# If you wish to stop any services when running short of battery power (and restart them when
# going to line power), list them in LOWPOWER_SERVICES.
# Any service started using the init scripts can be listed (the APM script runs
# "/sbin/service ... stop" for each of the services).
# If you want to stop/restart any services that are not started by the init system,
# use an apmcontinue script.
LOWPOWER_SERVICES="atd crond"

# Some broken BIOSes (e.g. the ones found in Toshiba Satellite Pro 4600
# Notebooks) need some time to settle down before really entering suspend
# mode.
#
# If your BIOS is broken, uncomment the line below, and possibly change the
# value (e.g. "5s = Wait 5 seconds before allowing to suspend").
#DELAYSUSPEND="3s"

# Laptop-mode configuration

# Enable laptop mode
# possibly vale on, off
# Default: off
LAPTOPMODE="off"

# Maximum time, in seconds, of hard drive spindown time that you are
# comfortable with. Worst case, it's possible that you could lose this
# amount of work if your battery fails you while in laptop mode.
#MAX_AGE=600

# Read-ahead, in 512-byte sectors. You can spin down the disk while playing MP3/OGG
# by setting the disk readahead to 8MB (READAHEAD=16384). Effectively, the disk
# will read a complete MP3 at once, and will then spin down while the MP3/OGG is
# playing.
#READAHEAD=4096

# Shall we remount journaled fs. with appropriate commit interval? (1=yes)
#DO_REMOUNTS=1

# And shall we add the "noatime" option to that as well? (1=yes)
#DO_REMOUNT_NOATIME=1

# Dirty synchronous ratio.  At this percentage of dirty pages the process
# which
# calls write() does its own writeback
#DIRTY_RATIO=40

#
# Allowed dirty background ratio, in percent.  Once DIRTY_RATIO has been
# exceeded, the kernel will wake pdflush which will then reduce the amount
# of dirty memory to dirty_background_ratio.  Set this nice and low, so once
# some writeout has commenced, we do a lot of it.
#
#DIRTY_BACKGROUND_RATIO=5

# kernel default dirty buffer age
#DEF_AGE=30
#DEF_UPDATE=5
#DEF_DIRTY_BACKGROUND_RATIO=10
#DEF_DIRTY_RATIO=40
#DEF_XFS_AGE_BUFFER=15
#DEF_XFS_SYNC_INTERVAL=30
#DEF_XFS_BUFD_INTERVAL=1

# This must be adjusted manually to the value of HZ in the running kernel
# on 2.4, until the XFS people change their 2.4 external interfaces to work in
# centisecs. This can be automated, but it's a work in progress that still
# needs# some fixes. On 2.6 kernels, XFS uses USER_HZ instead of HZ for
# external interfaces, and that is currently always set to 100. So you don't
# need to change this on 2.6.
#XFS_HZ=100

# Should the maximum CPU frequency be adjusted down while on battery?
# Requires CPUFreq to be setup.
# See Documentation/cpu-freq/user-guide.txt for more info
#DO_CPU=0

# When on battery what is the maximum CPU speed that the system should
# use? Legal values are "slowest" for the slowest speed that your
# CPU is able to operate at, or a value listed in:
# /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
# Only applicable if DO_CPU=1.
#CPU_MAXFREQ=slowest

# Idle timeout for your hard drive (man hdparm for valid values, -S option)
# Default is 2 hours on AC (AC_HD=244) and 20 seconds for battery (BATT_HD=4).
#AC_HD=244
#BATT_HD=4

# The drives for which to adjust the idle timeout. Separate them by a space,
# e.g. HD="/dev/hda /dev/hdb".
#HD="/dev/hda"

# Set the spindown timeout on a hard drive?
#DO_HD=1