mirror of
https://github.com/systemd/systemd.git
synced 2024-12-12 11:44:13 +08:00
8c94052ee5
This will allow us to mark static device nodes with '!' to indicate that they should only be created at early boot.
21 lines
711 B
SYSTEMD
21 lines
711 B
SYSTEMD
# 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
|
|
Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)
|
|
DefaultDependencies=no
|
|
Conflicts=shutdown.target
|
|
After=systemd-sysusers.service
|
|
Before=sysinit.target local-fs-pre.target systemd-udevd.service shutdown.target
|
|
ConditionCapability=CAP_SYS_MODULE
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=@rootbindir@/systemd-tmpfiles --prefix=/dev --create --boot
|