Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > bb23757c2103e08e206a6d1231227700 > files > 2

suspend-scripts-1.4-1mdk.noarch.rpm

# -*- Mode: shell-script -*-

# 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.
#SUSPEND_DISK="-q -X0 -q -c0 -q -d0 -q -u0 -q -S0"
#SUSPEND_RESUME="-q -X66 -q -c1 -q -d1 -q -u1 -q -S30"

# If RESTART_NFS is set to yes, NFS filesystems will be unmounted at
# suspend, and remounted at resume (if possible).
RESTART_NFS="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.
RESTART_NETWORK="yes"

# I got frequent problems mainly with scsi-pcmcia-cards on the cardbus. Use
# RESTART_PCMCIA="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 PCMCIA_WAIT 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 PCMCIA_BIOS_BUG 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.
RESTART_PCMCIA="no"
PCMCIA_BIOS_BUG="yes"
PCMCIA_WAIT="yes"

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

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

# 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"

# 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
RESTORE_SOUND="no"
SOUND_MODULES="sb uart401 sound soundcore maestro cs4281"

# Sometime USB doen't support well the suspending, specially for mouse
# you may want to activate USBMOUSE_RESTART to make sure that your
# mouse will work, if you want to restart the whole usb system set the
# variable USB_RESTART
USB_RESTART="no"

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

# List here the Services to Restart between Suspend/Resume
RESTART_SERVICES="postfix xntpd xinetd nfs gpm pcmcia irda alsa"

## APM Specific config
# 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"

## SWSUSP Specific config
# Use SWSUSP_FORCE_SUSPEND_MODE to force use the SWSUSP feature
# suspension. If empty, this let the suspension
# behaviour unchanged. "0" will force shut off after
# suspension. "1" will force reboot. You can add an optional
# second parameter to tune the suspension display (see swsusp
# documentation for more information).
# p1 = 0 for halt + eatmem  p1 = 2 for halt + freemem
# p2 = 2 for progress bar
# p3, p4 are optional debugging options for hackers (see swsusp kernel patch documentation).
# Default: "0 2", i.e. halt, eatmem, progress bar
#SWSUSP_FORCE_SUSPEND_MODE="0 2"