mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-03-09 15:08:18 +00:00
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
This commit is contained in:
parent
a25800215c
commit
a963a80a38
@ -84,6 +84,7 @@ start() {
|
|||||||
killall -q hotplug2
|
killall -q hotplug2
|
||||||
[ -x /sbin/hotplug2 ] && /sbin/hotplug2 --override --persistent \
|
[ -x /sbin/hotplug2 ] && /sbin/hotplug2 --override --persistent \
|
||||||
--set-rules-file /etc/hotplug2.rules \
|
--set-rules-file /etc/hotplug2.rules \
|
||||||
|
--set-coldplug-cmd /sbin/udevtrigger \
|
||||||
--max-children 1 >/dev/null 2>&1 &
|
--max-children 1 >/dev/null 2>&1 &
|
||||||
|
|
||||||
# the coldplugging of network interfaces needs to happen later, so we do it manually here
|
# the coldplugging of network interfaces needs to happen later, so we do it manually here
|
||||||
|
Loading…
Reference in New Issue
Block a user