mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 16:58:22 +00:00
base-files: set rules file for hotplug2 in the boot script (closes #5235)
SVN-Revision: 16215
This commit is contained in:
parent
ebeb3829e1
commit
9b5e65f101
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=base-files
|
PKG_NAME:=base-files
|
||||||
PKG_RELEASE:=21
|
PKG_RELEASE:=22
|
||||||
|
|
||||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||||
|
|
||||||
|
@ -53,6 +53,7 @@ start() {
|
|||||||
killall -q hotplug2
|
killall -q hotplug2
|
||||||
[ -x /sbin/hotplug2 ] && /sbin/hotplug2 --override --persistent \
|
[ -x /sbin/hotplug2 ] && /sbin/hotplug2 --override --persistent \
|
||||||
--set-worker /lib/hotplug2/worker_fork.so \
|
--set-worker /lib/hotplug2/worker_fork.so \
|
||||||
|
--set-rules-file /etc/hotplug2.rules \
|
||||||
--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…
x
Reference in New Issue
Block a user