updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / fbsplash-uswsusp / uswsusp.install
blob6deeddeadaf6f6eef6690410cfe6c5fae3e989a5
1 post_install() {
2   cat <<-EOT
3 ==============================================================================
4 >>> If suspend to ram doesn't work, edit the whitelist.c.diff file to add
5 >>> your machine to the s2ram whitelist with the  appropriate methods, then
6 >>> uncomment the line in the PKGBUILD where the patch is applied, eventually
7 >>> add the md5sum of the resulting patch and finally rebuild the package.  
8 >>> Use 's2ram --identify' to identify your machine. Be sure to let the
9 >>> suspend-devel list know!
10 >>>
11 >>> The new Software Suspend does not use kernel parameters to determine the
12 >>> suspend partition, instead it consults the /etc/suspend.conf file when
13 >>> booting. You MUST edit this file before you update your initrd.
14 >>>
15 >>> You will need to update your /etc/mkinitcpio.conf file to include the hook
16 >>> uresume.  Replace your 'resume' hook with 'uresume'.  If you do not have
17 >>> a resume hook the uresume hook must go before filesystems but after ide,
18 >>> sata, and/or scsi hooks.  Then rebuild the ramdisk with 'mkinitcpio -p
19 >>> kernel26' (or what else needed for the kernel you use)
20 ==============================================================================
21 EOT
24 post_upgrade() {
25     post_install
28 op=$1
29 shift
30 $op $*