From: Felix Fietkau Date: Sun, 22 Jan 2012 21:14:22 +0000 (+0000) Subject: base-files: the initial hotplug2 instance sometimes misses a few relevant events... X-Git-Tag: v19.07.0-rc1~25751 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a963a80a389eb5cb22ce35c6231461ae924061cf;p=openwrt%2Fstaging%2Fhauke.git base-files: the initial hotplug2 instance sometimes misses a few relevant events, e.g. during module load. rerun udevtrigger for the final hotplug2 instance to fix this SVN-Revision: 29862 --- diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 53c16be879..c798df3c84 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -84,6 +84,7 @@ start() { killall -q hotplug2 [ -x /sbin/hotplug2 ] && /sbin/hotplug2 --override --persistent \ --set-rules-file /etc/hotplug2.rules \ + --set-coldplug-cmd /sbin/udevtrigger \ --max-children 1 >/dev/null 2>&1 & # the coldplugging of network interfaces needs to happen later, so we do it manually here