cvsdist de22959
APMSCRIPTS=/etc/sysconfig/apm-scripts
cvsdist de22959
cvsdist de22959
# make an entry in the logfiles whenever the percentage of
cvsdist de22959
# battery power changes below the value specified here
cvsdist de22959
LOGPERCENTCHANGE=10
cvsdist de22959
cvsdist de22959
# warn on specified remainig battery percentage, use negative values
cvsdist de22959
# to disable this feature
cvsdist de22959
WARNPERCENT=5
cvsdist de22959
cvsdist de22959
# use -W to warn all users in a critical power state
cvsdist de22959
ADDPARAMS="-W"
cvsdist de22959
cvsdist de22959
# if you have problems with your X display after returning from suspend mode
cvsdist de22959
# give CHANGEVT the number of the virtual terminal your X-Server runs on
cvsdist de22959
#CHANGEVT="7"
cvsdist de22959
cvsdist de22959
# If you set this to yes, the clock will be synced with the hardware clock
cvsdist de22959
# when the computer returns from suspend mode.
cvsdist de22959
CLOCK_SYNC="yes"
cvsdist de22959
cvsdist de22959
# Some broken BIOSes, like those found in early Gericom 3xC notebooks,
cvsdist de22959
# won't wake up harddisks from suspend to disk unless they're set to PIO mode
cvsdist de22959
# and 16-bit.
cvsdist de22959
# Don't activate the following two lines unless you're getting
cvsdist de22959
# "hda: lost interrupt" after returning from a suspend to disk.
cvsdist de22959
#HDPARM_AT_SUSPEND="-q -X0 -q -c0 -q -d0 -q -u0 -q -S0"
cvsdist de22959
#HDPARM_AT_RESUME="-q -X66 -q -c1 -q -d1 -q -u1 -q -S30"
cvsdist de22959
cvsdist de22959
# the error-beep of your terminal might be set to the default values after a
cvsdist de22959
# resume so set TERMINALBEEP to "yes" to restore the values in
cvsdist de22959
# /etc/sysconfig/keyboard
cvsdist de22959
TERMINALBEEP="no"
cvsdist de22959
cvsdist de22959
# if your sound sometimes doesn't work after a resume set RESTORESOUND to "yes";
cvsdist de22959
# this will kill all sound applications, remove and start the $SOUNDMODULES
cvsdist de22959
# again, and, if you also set $RESTORESOUNDPROGS to "yes", restart the
cvsdist de22959
# sound applications as the correct user and on the correct display
cvsdist de22959
RESTORESOUND="no"
cvsdist de22959
RESTORESOUNDPROGS="no"
cvsdist de22959
cvsdist d2942e8
# some services might need restarting after a suspend/resume cycle - for
cvsdist d2942e8
# example, named will shut down if all network interfaces go down.
cvsdist d2942e8
# Any valid service (as in "ls /etc/init.d/") can be listed, and will be
cvsdist d2942e8
# restarted if it was running at suspend time.
cvsdist ffc43e3
RESTORESERVICES="named amd"
cvsdist d2942e8
cvsdist de22959
# I got frequent problems mainly with scsi-pcmcia-cards on the cardbus. Use
cvsdist de22959
# PCMCIARESTART="yes" to stop the whole pcmcia-subsystem on a suspend and
cvsdist de22959
# to start it again after a resume. This can slow down your suspend and resume
cvsdist de22959
# process. Use PCMCIAWAIT to wait with the suspend until the pccard is removed
cvsdist de22959
# from the system.
cvsdist de22959
# Some BIOSes are too buggy to handle cardctl suspend and cardctl resume
cvsdist de22959
# properly, in these cases cardctl eject and cardctl insert can be used instead.
cvsdist de22959
# However, this actually ejects the card on hardware supporting it, so if
cvsdist de22959
# the BIOS isn't buggy, it shouldn't be used. Set PCMCIABIOSBUG to yes if
cvsdist de22959
# you are experiencing problems with PCMCIA cards after a resume.
cvsdist de22959
# Since buggy BIOSes seem to be far more common than hardware that can eject
cvsdist de22959
# PCMCIA cards (and it doesn't make a difference on systems that don't have
cvsdist de22959
# either), it is enabled by default.
cvsdist de22959
PCMCIARESTART="no"
cvsdist de22959
PCMCIABIOSBUG="yes"
cvsdist de22959
PCMCIAWAIT="no"
cvsdist de22959
cvsdist de22959
# Set ANACRON_ON_BATTERY to yes if you want to run anacron after a resume even
cvsdist de22959
# if you're on battery power.
cvsdist de22959
ANACRON_ON_BATTERY="no"
cvsdist de22959
cvsdist de22959
# Set LOCK_X to yes if you want to lock all your X displays at suspend
cvsdist de22959
LOCK_X="no"
cvsdist de22959
cvsdist de22959
# If NET_RESTART is set to yes, the network will be shut down at suspend and
cvsdist de22959
# restarted at resume.
cvsdist de22959
# This is especially useful if you're using DHCP, but usually won't hurt.
cvsdist de22959
NET_RESTART="yes"
cvsdist de22959
cvsdist de22959
# If NETFS_RESTART is set to yes, NFS filesystems will be unmounted at
cvsdist de22959
# suspend, and remounted at resume (if possible).
cvsdist de22959
NETFS_RESTART="yes"
cvsdist de22959
cvsdist de22959
# If you wish to stop any services when going to battery power (and restart them when
cvsdist de22959
# going to line power), list them in POWER_SERVICES.
cvsdist de22959
# Any service started using the init scripts can be listed (the APM script runs
cvsdist de22959
# "/sbin/service ... stop" for each of the services).
cvsdist de22959
# If you want to stop/restart any services that are not started by the init system,
cvsdist de22959
# use an apmcontinue script.
cvsdist de22959
#POWER_SERVICES="atd crond"
cvsdist de22959
cvsdist de22959
# If you wish to stop any services when running short of battery power (and restart them when
cvsdist de22959
# going to line power), list them in LOWPOWER_SERVICES.
cvsdist de22959
# Any service started using the init scripts can be listed (the APM script runs
cvsdist de22959
# "/sbin/service ... stop" for each of the services).
cvsdist de22959
# If you want to stop/restart any services that are not started by the init system,
cvsdist de22959
# use an apmcontinue script.
cvsdist de22959
LOWPOWER_SERVICES="atd crond"
cvsdist de22959
cvsdist d2942e8
# Some broken BIOSes (e.g. the ones found in Toshiba Satellite Pro 4600
cvsdist d2942e8
# Notebooks) need some time to settle down before really entering suspend
cvsdist d2942e8
# mode.
cvsdist d2942e8
#
cvsdist d2942e8
# If your BIOS is broken, uncomment the line below, and possibly change the
cvsdist d2942e8
# value (e.g. "5s = Wait 5 seconds before allowing to suspend").
cvsdist d2942e8
#DELAYSUSPEND="3s"
cvsdist 801d8c5
Zdenek Prikryl 27d3fd2
# Laptop-mode configuration
Zdenek Prikryl 27d3fd2
Zdenek Prikryl 27d3fd2
# Enable laptop mode
Zdenek Prikryl 27d3fd2
# possibly vale on, off
Zdenek Prikryl 27d3fd2
# Default: off
Zdenek Prikryl 27d3fd2
LAPTOPMODE="off"
Zdenek Prikryl 27d3fd2
Zdenek Prikryl 27d3fd2
# Maximum time, in seconds, of hard drive spindown time that you are
Zdenek Prikryl 27d3fd2
# comfortable with. Worst case, it's possible that you could lose this
Zdenek Prikryl 27d3fd2
# amount of work if your battery fails you while in laptop mode.
Zdenek Prikryl 27d3fd2
#MAX_AGE=600
Zdenek Prikryl 27d3fd2
Zdenek Prikryl 27d3fd2
# Read-ahead, in 512-byte sectors. You can spin down the disk while playing MP3/OGG
Zdenek Prikryl 27d3fd2
# by setting the disk readahead to 8MB (READAHEAD=16384). Effectively, the disk
Zdenek Prikryl 27d3fd2
# will read a complete MP3 at once, and will then spin down while the MP3/OGG is
Zdenek Prikryl 27d3fd2
# playing.
Zdenek Prikryl 27d3fd2
#READAHEAD=4096
Zdenek Prikryl 27d3fd2
Zdenek Prikryl 27d3fd2
# Shall we remount journaled fs. with appropriate commit interval? (1=yes)
Zdenek Prikryl 27d3fd2
#DO_REMOUNTS=1
Zdenek Prikryl 27d3fd2
Zdenek Prikryl 27d3fd2
# And shall we add the "noatime" option to that as well? (1=yes)
Zdenek Prikryl 27d3fd2
#DO_REMOUNT_NOATIME=1
Zdenek Prikryl 27d3fd2
Zdenek Prikryl 27d3fd2
# Dirty synchronous ratio.  At this percentage of dirty pages the process
Zdenek Prikryl 27d3fd2
# which
Zdenek Prikryl 27d3fd2
# calls write() does its own writeback
Zdenek Prikryl 27d3fd2
#DIRTY_RATIO=40
Zdenek Prikryl 27d3fd2
Zdenek Prikryl 27d3fd2
#
Zdenek Prikryl 27d3fd2
# Allowed dirty background ratio, in percent.  Once DIRTY_RATIO has been
Zdenek Prikryl 27d3fd2
# exceeded, the kernel will wake pdflush which will then reduce the amount
Zdenek Prikryl 27d3fd2
# of dirty memory to dirty_background_ratio.  Set this nice and low, so once
Zdenek Prikryl 27d3fd2
# some writeout has commenced, we do a lot of it.
Zdenek Prikryl 27d3fd2
#
Zdenek Prikryl 27d3fd2
#DIRTY_BACKGROUND_RATIO=5
Zdenek Prikryl 27d3fd2
Zdenek Prikryl 27d3fd2
# kernel default dirty buffer age
Zdenek Prikryl 27d3fd2
#DEF_AGE=30
Zdenek Prikryl 27d3fd2
#DEF_UPDATE=5
Zdenek Prikryl 27d3fd2
#DEF_DIRTY_BACKGROUND_RATIO=10
Zdenek Prikryl 27d3fd2
#DEF_DIRTY_RATIO=40
Zdenek Prikryl 27d3fd2
#DEF_XFS_AGE_BUFFER=15
Zdenek Prikryl 27d3fd2
#DEF_XFS_SYNC_INTERVAL=30
Zdenek Prikryl 27d3fd2
#DEF_XFS_BUFD_INTERVAL=1
Zdenek Prikryl 27d3fd2
Zdenek Prikryl 27d3fd2
# This must be adjusted manually to the value of HZ in the running kernel
Zdenek Prikryl 27d3fd2
# on 2.4, until the XFS people change their 2.4 external interfaces to work in
Zdenek Prikryl 27d3fd2
# centisecs. This can be automated, but it's a work in progress that still
Zdenek Prikryl 27d3fd2
# needs# some fixes. On 2.6 kernels, XFS uses USER_HZ instead of HZ for
Zdenek Prikryl 27d3fd2
# external interfaces, and that is currently always set to 100. So you don't
Zdenek Prikryl 27d3fd2
# need to change this on 2.6.
Zdenek Prikryl 27d3fd2
#XFS_HZ=100
Zdenek Prikryl 27d3fd2
Zdenek Prikryl 27d3fd2
# Should the maximum CPU frequency be adjusted down while on battery?
Zdenek Prikryl 27d3fd2
# Requires CPUFreq to be setup.
Zdenek Prikryl 27d3fd2
# See Documentation/cpu-freq/user-guide.txt for more info
Zdenek Prikryl 27d3fd2
#DO_CPU=0
Zdenek Prikryl 27d3fd2
Zdenek Prikryl 27d3fd2
# When on battery what is the maximum CPU speed that the system should
Zdenek Prikryl 27d3fd2
# use? Legal values are "slowest" for the slowest speed that your
Zdenek Prikryl 27d3fd2
# CPU is able to operate at, or a value listed in:
Zdenek Prikryl 27d3fd2
# /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
Zdenek Prikryl 27d3fd2
# Only applicable if DO_CPU=1.
Zdenek Prikryl 27d3fd2
#CPU_MAXFREQ=slowest
Zdenek Prikryl 27d3fd2
Zdenek Prikryl 27d3fd2
# Idle timeout for your hard drive (man hdparm for valid values, -S option)
Zdenek Prikryl 27d3fd2
# Default is 2 hours on AC (AC_HD=244) and 20 seconds for battery (BATT_HD=4).
Zdenek Prikryl 27d3fd2
#AC_HD=244
Zdenek Prikryl 27d3fd2
#BATT_HD=4
Zdenek Prikryl 27d3fd2
Zdenek Prikryl 27d3fd2
# The drives for which to adjust the idle timeout. Separate them by a space,
Zdenek Prikryl 27d3fd2
# e.g. HD="/dev/hda /dev/hdb".
Zdenek Prikryl 27d3fd2
#HD="/dev/hda"
Zdenek Prikryl 27d3fd2
Zdenek Prikryl 27d3fd2
# Set the spindown timeout on a hard drive?
Zdenek Prikryl 27d3fd2
#DO_HD=1