2012-05-21 21:12:18 +08:00
|
|
|
# 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.
|
|
|
|
|
2011-03-23 23:40:23 +08:00
|
|
|
[Unit]
|
|
|
|
Description=udev Coldplug all Devices
|
2012-06-22 16:38:40 +08:00
|
|
|
Documentation=man:udev(7) man:systemd-udevd.service(8)
|
2013-03-26 04:22:52 +08:00
|
|
|
DefaultDependencies=no
|
2012-07-03 03:35:14 +08:00
|
|
|
Wants=systemd-udevd.service
|
|
|
|
After=systemd-udevd-kernel.socket systemd-udevd-control.socket
|
2013-03-26 04:22:52 +08:00
|
|
|
Before=sysinit.target
|
2013-08-18 01:07:42 +08:00
|
|
|
ConditionPathIsReadWrite=/sys
|
2011-03-23 23:40:23 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2013-03-11 14:17:39 +08:00
|
|
|
ExecStart=@rootbindir@/udevadm trigger --type=subsystems --action=add ; @rootbindir@/udevadm trigger --type=devices --action=add
|