From 3e8037f17c985a99b26fff92917e8567480ab246 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Mon, 22 Apr 2013 21:57:39 +0200 Subject: units: rename systemd-static-nodes -> systemd-tmpfiles-setup-dev This is really just a special case of systemd-tmpfiles-setup, moreover it could easily create more than static nodes. --- units/.gitignore | 2 +- units/systemd-static-nodes.service.in | 16 ---------------- units/systemd-tmpfiles-setup-dev.service.in | 16 ++++++++++++++++ 3 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 units/systemd-static-nodes.service.in create mode 100644 units/systemd-tmpfiles-setup-dev.service.in (limited to 'units') diff --git a/units/.gitignore b/units/.gitignore index 6c9582e026..d2f3eb40d6 100644 --- a/units/.gitignore +++ b/units/.gitignore @@ -26,6 +26,7 @@ /systemd-fsck-root.service /systemd-tmpfiles-clean.service /systemd-tmpfiles-setup.service +/systemd-tmpfiles-setup-dev.service /systemd-halt.service /systemd-poweroff.service /systemd-reboot.service @@ -43,7 +44,6 @@ /systemd-random-seed-load.service /systemd-random-seed-save.service /systemd-initctl.service -/systemd-static-nodes.service /getty@.service /systemd-update-utmp-runlevel.service /systemd-update-utmp-shutdown.service diff --git a/units/systemd-static-nodes.service.in b/units/systemd-static-nodes.service.in deleted file mode 100644 index 3553226c67..0000000000 --- a/units/systemd-static-nodes.service.in +++ /dev/null @@ -1,16 +0,0 @@ -# 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 diff --git a/units/systemd-tmpfiles-setup-dev.service.in b/units/systemd-tmpfiles-setup-dev.service.in new file mode 100644 index 0000000000..3553226c67 --- /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 -- cgit v1.2.3