Re: [PATCH 1/9] Dracut cleanups, part 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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  <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

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux