On Wed, Feb 11, 2009 at 4:07 PM, Karel Zak <kzak@xxxxxxxxxx> wrote: > 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") Indeed, but that adds yet another executable to the initrd. >> +echo "${maj/,/}:$min"> /sys/power/resume > > Karel > > -- > Karel Zak <kzak@xxxxxxxxxx> > -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html