chiark / gitweb /
tmpfiles: support globbing for w option
authorDave Reisner <dreisner@archlinux.org>
Mon, 3 Sep 2012 21:13:18 +0000 (17:13 -0400)
committerLennart Poettering <lennart@poettering.net>
Wed, 12 Sep 2012 06:46:03 +0000 (08:46 +0200)
Break out the write logic into a separate function and simply use it as
a callback to glob_item.

This allows users to consolidate writes to sysfs with multiple similar
pathnames, e.g.

  w /sys/class/block/sd[a-z]/queue/read_ahead_kb - - - - 1024


No differences found