Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 29th, 2012  |  syntax: None  |  size: 4.38 KB  |  views: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Configuration options common for suspending to disk or RAM.
  2. # Options are not case sensitive.
  3. #
  4. # See hibernate.conf(5) for help on the configuration items.
  5.  
  6. ##############################################################################
  7. ### Some global settings
  8. ##############################################################################
  9.  
  10. Verbosity 0
  11. LogFile /var/log/hibernate.log
  12. LogVerbosity 1
  13. # LogTimestamp yes
  14. # AlwaysForce yes
  15. # AlwaysKill yes
  16. # HibernateVT 15
  17. Distribution arch
  18. OnSuspend 00 sync; echo 3 > /proc/sys/vm/drop_caches
  19. # XDisplay :0
  20.  
  21. ##############################################################################
  22. ### Scriptlets
  23. ###   Scriptlets provide support for doing all sorts of things before and after
  24. ###   suspending. The defaults settings here should work for most people, but
  25. ###   you may wish to edit these to taste. Consult "hibernate -h" for help on
  26. ###   the configuration settings.
  27. ##############################################################################
  28.  
  29. ### bootsplash
  30. ## If you use bootsplash, also enabling SwitchToTextMode is recommended if
  31. ## you use X, otherwise you may end up with a garbled X display.
  32. # Bootsplash on
  33. # BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg
  34. SwitchToTextMode yes
  35.  
  36. ### clock
  37. SaveClock restore-only
  38. #DirectIsa
  39.  
  40. ### devices
  41. # IncompatibleDevices /dev/dsp /dev/video*
  42.  
  43. ### diskcache
  44. # DisableWriteCacheOn /dev/hda
  45.  
  46. ### fbsplash (enable SwitchToTextMode if you use this)
  47. # FBSplash on
  48. # FBSplashTheme tuxonice
  49.  
  50. ### filesystems
  51. #Unmount /mnt/win
  52. # UnmountFSTypes smbfs nfs
  53. UnmountGraceTime 1
  54. #Mount /mnt/win
  55.  
  56. ### grub
  57. # ChangeGrubMenu yes
  58. # GrubMenuFile /boot/grub/menu.lst
  59. # AlternateGrubMenuFile /boot/grub/menu-suspended.lst
  60. # BackupGrubMenuFile /boot/grub/menu.lst.hibernate.bak
  61.  
  62. # see http://bugs.debian.org/317479
  63. # RemountXFSBoot yes
  64.  
  65. ### hardware_tweaks
  66. # IbmAcpi yes
  67. # RadeonTool yes
  68. # Runi915resolution yes
  69. # FullSpeedCPU yes
  70.  
  71. ### lilo
  72. # EnsureLILOResumes yes
  73.  
  74. ### lock (generally you only want one of the following options)
  75. ## For console you need vlock available.
  76. ## For x you need xscreensaver-command-command available.
  77. ## For gnome you need gnome-screensaver-command available.
  78. ## For kde you need dcop, kscreensaver available.
  79. ## For XAuto you need xautolock available.
  80. ## For Xtr you need xtrlock available.
  81. ## For Freedesktop (for example KDE4) you need dbus-send available
  82. # LockConsoleAs root
  83. # LockXScreenSaver yes
  84. # LockGnomeScreenSaver yes
  85. # LockFreedesktop
  86. # LockKDE yes
  87. # LockXLock yes
  88. # LockXAutoLock yes
  89. # LockXtrLock yes
  90.  
  91. ### misclaunch
  92. # OnSuspend 20 echo "Good night!"
  93. # OnResume 20 echo "Good morning!"
  94.  
  95. ### modules
  96. # UnloadModules snd_via82cxxx usb-ohci
  97. # UnloadAllModules yes
  98. #UnloadBlacklistedModules yes
  99. LoadModules auto
  100. # LoadModulesFromFile /etc/modules
  101.  
  102. ### modules-gentoo
  103. # GentooModulesAutoload yes
  104.  
  105. ### network
  106. # DownInterfaces eth0
  107. # UpInterfaces auto
  108.  
  109. ### networkmanager
  110. # EnableNMReconnect yes
  111.  
  112. ### pause_audio
  113. # MuteAudio yes
  114. # PauseAudio yes
  115.  
  116. ### pcmcia
  117. # EjectCards yes
  118.  
  119. ### programs
  120. # IncompatiblePrograms xmms
  121.  
  122. ### services
  123. # RestartServices laptop_mode anacron
  124. # StopServices alsasound
  125. # StartServices aumix
  126.  
  127. ### vbetool
  128. #EnableVbetool yes
  129. #RestoreVbeStateFrom /var/lib/vbetool/vbestate
  130. #VbetoolPost yes
  131. #RestoreVCSAData yes
  132.  
  133. ### xhacks
  134. #SwitchToTextMode yes
  135. #UseDummyXServer yes
  136. #DummyXServerConfig xorg-dummy.conf
  137.  
  138. ### xstatus
  139. ## This can be set to gnome, kde or x:
  140. ## For gnome you need zenity available.
  141. ## For kde you need dcop, kstart, kdialog available.
  142. ## For x you need to have xosd OR xmessage available.
  143. # XStatus gnome
  144. # XmessageDisable yes
  145. # XSuspendText Preparing to suspend...
  146. # XResumeText Resuming from suspend...
  147. ## When using XStatus x, and you have xosd installed:
  148. # XosdSettings --font '-misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-*' --colour=Green --shadow 1 --pos bottom --align center --offset 50
  149.  
  150. ### xbacklight
  151. # BackLight yes
  152.  
  153. ### gaim
  154. ## You need to have dbus, gaim_remote available.
  155. # LogoutGaim yes
  156. # GaimRestoreStatus yes
  157. # GaimLogoutMessage Hibernating
  158. # GaimLoginMessage Back from hibernation
  159.  
  160. ### pidgin
  161. # LogoutPidgin yes
  162. # PidginRestoreStatus yes
  163. # PidginLogoutMessage Hibernating - bye!
  164. # PidginLoginMessage I'm back!
  165.  
  166. ### SSH and PGP keys
  167. # AgentsClearGPG yes
  168. # AgentsClearSSH yes
  169.  
  170. ### Virtualbox
  171. # SuspendVirtualbox yes
clone this paste RAW Paste Data