View | Details | Raw Unified | Return to bug 9881
Collapse All | Expand All

(-)/etc/init.d/udevd.rpmorig (-3 / +5 lines)
Lines 146-152 Link Here
146
	# in this case we should make sure that hotplug didn't invoke an instance of udevd
146
	# in this case we should make sure that hotplug didn't invoke an instance of udevd
147
	# before
147
	# before
148
	/sbin/pidof $udevd >/dev/null && stop_daemon --no-announce --pidfile none $udevd
148
	/sbin/pidof $udevd >/dev/null && stop_daemon --no-announce --pidfile none $udevd
149
		
149
150
	# Fake uevent_seqnum to avoid race between udevd startup and udevsettle
151
	mkdir -p "$udev_root/.udev"
152
	echo 0 >"$udev_root/.udev/uevent_seqnum"
153
150
	# We want to start udevd ourselves if it isn't already running.  This
154
	# We want to start udevd ourselves if it isn't already running.  This
151
	# lets udevd run at a sane nice level...
155
	# lets udevd run at a sane nice level...
152
	if [ -z "$RUN_FROM_SYSINIT" ]; then
156
	if [ -z "$RUN_FROM_SYSINIT" ]; then
Lines 156-164 Link Here
156
	fi
160
	fi
157
	RETVAL=$[$RETVAL+$?]
161
	RETVAL=$[$RETVAL+$?]
158
	[ "$RETVAL" == "0" ] && echo "" >/proc/sys/kernel/hotplug
162
	[ "$RETVAL" == "0" ] && echo "" >/proc/sys/kernel/hotplug
159
	sync
160
	/sbin/udevtrigger 
163
	/sbin/udevtrigger 
161
	sync
162
	action "Populating /dev " /sbin/udevsettle 
164
	action "Populating /dev " /sbin/udevsettle 
163
	RETVAL=$[$RETVAL+$?]
165
	RETVAL=$[$RETVAL+$?]
164
	
166
	

Return to bug 9881