systemd/debian/udev.udevtrigger.upstart
Michael Biebl 6ab50b03cf Add changes from 175-7.1 NMU (upstart support)
Patch courtesy of Steve Langasek <steve.langasek@ubuntu.com>
2013-07-18 19:29:15 +02:00

17 lines
352 B
Plaintext

# udevtrigger - cold plug devices
#
# By the time udevd starts, we've already missed all of the events for
# the devices populated in /sys. This task causes the kernel to resend
# them.
description "cold plug devices"
start on (startup
and started udev
and not-container)
task
exec udevadm trigger --action=add
post-stop exec udevadm settle