1 # Example ram.conf file for suspending to RAM. Adapt to your own tastes.
2 # Options are not case sensitive.
4 # Run "hibernate -h" for help on the configuration items.
9 ##############################################################################
10 ### Some global settings
11 ##############################################################################
14 LogFile /var/log/hibernate.log
22 ##############################################################################
24 ### Scriptlets provide support for doing all sorts of things before and after
25 ### suspending. The defaults settings here should work for most people, but
26 ### you may wish to edit these to taste. Consult "hibernate -h" for help on
27 ### the configuration settings.
28 ##############################################################################
31 ## If you use bootsplash, also enabling SwitchToTextMode is recommended if
32 ## you use X, otherwise you may end up with a garbled X display.
34 # BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg
37 SaveClock restore-only
40 # IncompatibleDevices /dev/dsp /dev/video*
43 # DisableWriteCacheOn /dev/hda
45 ### fbsplash (enable SwitchToTextMode if you use this)
47 # FBSplashTheme suspend2
50 # Unmount /nfsshare /windows /mnt/sambaserver
51 # UnmountFSTypes smbfs nfs
57 # GrubMenuFile /boot/grub/menu.lst
58 # AlternateGrubMenuFile /boot/grub/menu-suspended.lst
59 # BackupGrubMenuFile /boot/grub/menu.lst.hibernate.bak
66 # EnsureLILOResumes yes
68 ### lock (generally you only want one of the following options)
70 # LockXScreenSaver yes
76 # OnSuspend 20 echo "Good night!"
77 # OnResume 20 echo "Good morning!"
80 UnloadModules usb-storage uhci-hcd ohci-hcd ehci-hcd
81 # UnloadAllModules yes
82 # UnloadBlacklistedModules yes
84 # LoadModulesFromFile /etc/modules
87 # GentooModulesAutoload yes
97 # IncompatiblePrograms xmms
100 # RestartServices postfix
101 # StopServices alsasound
102 # StartServices aumix
106 # RestoreVbeStateFrom /var/lib/vbetool/vbestate
108 # RestoreVCSAData yes
112 # UseDummyXServer yes
115 ## This can be set to gnome, kde or x:
117 # XSuspendText Preparing to suspend...
118 # XResumeText Resuming from suspend...
119 ## When using XStatus x, and you have xosd installed:
120 # XosdSettings --font -misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-* --colour=Green --shadow 1 --pos bottom --align center --offset 50