Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 424189 | Differences between
and this patch

Collapse All | Expand All

(-)a/init.d/udev (-8 / +5 lines)
Lines 100-122 start_udevmonitor() Link Here
100
100
101
populate_dev()
101
populate_dev()
102
{
102
{
103
	if get_bootparam "nocoldplug" ; then
103
	get_bootparam "nocoldplug" && rc_coldplug="no"
104
		rc_coldplug="NO"
104
	if ! yesno $rc_coldplug; then
105
		ewarn "Skipping udev coldplug as requested in kernel cmdline"
105
		ewarn "Skipping udev coldplug sequence"
106
		return 0
106
	fi
107
	fi
107
108
108
	ebegin "Populating /dev with existing devices through uevents"
109
	ebegin "Populating /dev with existing devices through uevents"
109
	if ! yesno "${rc_coldplug}"; then
110
		# Do not run any init-scripts, Bug #206518
111
		udevadm control --property=do_not_run_plug_service=1
112
	fi
113
	udevadm trigger --type=subsystems --action=add
110
	udevadm trigger --type=subsystems --action=add
114
	udevadm trigger --type=devices --action=add
111
	udevadm trigger --type=devices --action=add
115
	eend $?
112
	eend $?
113
116
	ebegin "Waiting for uevents to be processed"
114
	ebegin "Waiting for uevents to be processed"
117
	udevadm settle --timeout=${udev_settle_timeout}
115
	udevadm settle --timeout=${udev_settle_timeout}
118
	eend $?
116
	eend $?
119
	udevadm control --property=do_not_run_plug_service=
120
	return 0
117
	return 0
121
}
118
}
122
119

Return to bug 424189