summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/init.d
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-01-22 21:14:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-01-22 21:14:22 +0000
commita963a80a389eb5cb22ce35c6231461ae924061cf (patch)
treeee6626d630dfd4abbb8fc40b08a1cdd724a381d8 /package/base-files/files/etc/init.d
parenta25800215cad4a3118c7c10fe5f5a2a0ef62fc99 (diff)
downloadmtk-20170518-a963a80a389eb5cb22ce35c6231461ae924061cf.zip
mtk-20170518-a963a80a389eb5cb22ce35c6231461ae924061cf.tar.gz
mtk-20170518-a963a80a389eb5cb22ce35c6231461ae924061cf.tar.bz2
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
Diffstat (limited to 'package/base-files/files/etc/init.d')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index 53c16be..c798df3 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