Hi, sorry if I am posting this into wrong NG (or list, if you prefer), please, kick me in the right direction. I am not a developer, but while tinkering with suspend2 patch with my home brewn kernel (currently 2.6.18-rc4), after studying HACKING document, I tried to include into initramfs a tiny script which would basically just echo > /proc/suspend2/do_resume I tried to create two attached scripts and put them into /etc/initramfs-tools/hooks/suspend2 and /etc/initramfs-tools/scripts/local-premount/suspend2 respectively, but when investigating created inird.img I haven't found any results there (I would suspect directory scripts is the right place to look for them, right?). Can anybody kick me into right direction (either how to do it, or in which other NG/list I should ask), please? Thanks in advance, Matěj -- GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC http://www.ceplovi.cz/matej/blog/, Jabber: ceplma@jabber.cz 23 Marion St. #3, (617) 876-1259, ICQ 132822213 Of all tyrannies, a tyranny exercised for the good of its victims may be the most oppressive. It may be better to live under robber barons than under omnipotent moral busybodies. The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end, for they do so with the approval of their consciences. -- C. S. Lewis
Attachment:
suspend2-initramfs-hook
Description: application/shellscript
Attachment:
suspend2-initramfs-script
Description: application/shellscript