On Wed, Feb 11, 2009 at 03:46:38AM -0800, Victor Lowther wrote:
> +# parsing the output of ls is Bad, but until there is a better way...
> +read x x x x maj min x < <(ls -lH "$resume")

  read maj min < <(stat --format="%t %T" "$resume")

> +echo "${maj/,/}:$min"> /sys/power/resume

    Karel

-- 
 Karel Zak  <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to