On Tue, Aug 08, 2006 at 02:33:46PM -0400, Matej Cepl wrote: > 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?
sure checkout man initramfs-tools. :) it has examples for hook and boot scripts. if you have more precise questions feel free to ask. also don't hesitate to post your scripts > Thanks in advance, > > Mat??j > -- regards -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]