On Thursday 15 June 2006 05:41, Jason Lunz wrote:
> on debian unstable, this is all I needed to get yaird to generate an
> initramfs image with ususpend support.

Great.  I'd like to create a HOWTO patch describing this, but I have no
experience with initramfs and/or yaird.  Would you please describe
shortly all steps needed to make it work?

Rafael


> --- Templates.cfg.orig        2006-06-14 23:33:34.000000000 -0400
> +++ Templates.cfg     2006-06-14 23:39:58.000000000 -0400
> @@ -400,6 +400,8 @@
>       #
>       TEMPLATE resume
>       BEGIN
> +             FILE "/usr/local/sbin/resume"
> +             FILE "/etc/suspend.conf"
>               SCRIPT "/init"
>               BEGIN
>                       !if [ -z "$noresume" ]
> @@ -412,6 +414,11 @@
>                       !  if [ -w /proc/software_suspend/do_resume ]; then
>                       !    echo > /proc/software_suspend/do_resume
>                       !  fi
> +                     !  if [ -x /usr/local/sbin/resume ]
> +                     !  then
> +                     !    mkcdev /dev/snapshot misc/snapshot
> +                     !    /usr/local/sbin/resume
> +                     !  fi
>                       !  # for swsusp
>                       !  if [ -n "$resume" ]
>                       !  then
> 
> 
> 
> _______________________________________________
> Suspend-devel mailing list
> Suspend-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/suspend-devel
> 
> 

-- 
And who am I to fast deny the right
to take a fish once in a while?
                Ian Anderson - "Mountain Men"

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to