Commit 3380ba45 authored by Natanael Copa's avatar Natanael Copa

main/udev: fix coldplug triggering

fixes #989
parent 38212b9d
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=udev
pkgver=175
pkgrel=1
pkgrel=2
pkgdesc="The userspace dev tools (udev)"
url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
arch="all"
......@@ -76,4 +76,4 @@ md5sums="2fc9c1efcbde98e3d73ffee7a77aea47 udev-175.tar.bz2
c9de7581099cdfdcd105666cd98a0f0a write_root_link_rule
884d7faaaa149a323b14e907ea1934f4 udev-mount.initd
e99c87e62e7cb5acc4c55bf065944a11 udev-postmount.initd
a2deccd61391c71693c0217a0e6dd861 udev.initd"
c11fb3517a567db9994d5f9dbc88ecae udev.initd"
......@@ -87,7 +87,8 @@ populate_dev()
ebegin "Populating /dev with existing devices through uevents"
udevadm control --property=STARTUP=1
if yesno "${rc_coldplug}"; then
udevadm trigger --action="add"
udevadm trigger --action="add" --type="subsystems"
udevadm trigger --action="add" --type="devices"
else
# Do not run any init-scripts, Bug #206518
udevadm control --property=do_not_run_plug_service=1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment