aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-05-30 17:09:41 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-05-30 17:09:41 +0000
commit9b5e65f101cca8d154da3831dae555ff56c151ec (patch)
tree8f1589f85cb187d1b012eed0bf709e9009ae589f /package/base-files/files/etc/init.d
parentebeb3829e18916d98c08c8d109c0db10d028dbe1 (diff)
downloadupstream-9b5e65f101cca8d154da3831dae555ff56c151ec.tar.gz
upstream-9b5e65f101cca8d154da3831dae555ff56c151ec.tar.bz2
upstream-9b5e65f101cca8d154da3831dae555ff56c151ec.zip
base-files: set rules file for hotplug2 in the boot script (closes #5235)
SVN-Revision: 16215
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 6ecddfb022..283c02a1ae 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -53,6 +53,7 @@ start() {
killall -q hotplug2
[ -x /sbin/hotplug2 ] && /sbin/hotplug2 --override --persistent \
--set-worker /lib/hotplug2/worker_fork.so \
+ --set-rules-file /etc/hotplug2.rules \
--max-children 1 >/dev/null 2>&1 &
# the coldplugging of network interfaces needs to happen later, so we do it manually here