]> git.ipfire.org Git - thirdparty/systemd.git/commit
kmod-static-nodes: don't run if module list is empty 2301/head
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 11 Jan 2016 15:26:17 +0000 (16:26 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 11 Jan 2016 15:26:17 +0000 (16:26 +0100)
commit6233c794b2b6eeee178727cfe3729243876e2948
tree01851e500f9950739f4301049a84858f654cfdbf
parentcfa0537cc33530a70bed3b27aa9f48e2607a9bde
kmod-static-nodes: don't run if module list is empty

With this kmod commit, modules.devname will be empty by default instead of
containing just a comment:

  https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=4c30a11d5f

Refine the startup condition of kmod-static-nodes.service to not run needlessly
if the list is empty.
units/kmod-static-nodes.service.in