base-files: the initial hotplug2 instance sometimes misses a few relevant events...
authorFelix Fietkau <nbd@openwrt.org>
Sun, 22 Jan 2012 21:14:22 +0000 (21:14 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 22 Jan 2012 21:14:22 +0000 (21:14 +0000)
SVN-Revision: 29862

package/base-files/files/etc/init.d/boot

index 53c16be8790e4ef94c583fad693f0ec73be93712..c798df3c8432c38e7614eaaf66bfa3fa0baf02c9 100755 (executable)
@@ -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