X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-tmpfiles-setup-dev.service.in;fp=units%2Fsystemd-tmpfiles-setup-dev.service.in;h=3553226c677d49bc3547cacbda0662a55a98fedc;hb=3e8037f17c985a99b26fff92917e8567480ab246;hp=0000000000000000000000000000000000000000;hpb=bf83067c1ded45c1ba1d9d679e6190a5de51f960;p=elogind.git diff --git a/units/systemd-tmpfiles-setup-dev.service.in b/units/systemd-tmpfiles-setup-dev.service.in new file mode 100644 index 000000000..3553226c6 --- /dev/null +++ b/units/systemd-tmpfiles-setup-dev.service.in @@ -0,0 +1,16 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Create static device nodes in /dev +DefaultDependencies=no +Before=sysinit.target systemd-udevd.service +ConditionCapability=CAP_MKNOD + +[Service] +Type=oneshot +ExecStart=@rootbindir@/systemd-tmpfiles --prefix=/dev --create