aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-13 09:18:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-03-13 09:18:30 +0000
commit5744d736f2eb448650745e3c0fc9939d5de4f06a (patch)
tree555b5ab22cff17c2593b844158ae569d68b15f83 /package/base-files
parent57b4047a5d9aeaa42bea28074664a350acad3d07 (diff)
downloadupstream-5744d736f2eb448650745e3c0fc9939d5de4f06a.tar.gz
upstream-5744d736f2eb448650745e3c0fc9939d5de4f06a.tar.bz2
upstream-5744d736f2eb448650745e3c0fc9939d5de4f06a.zip
base-files: remove old coldplugging hacks that are no longer necessary since the new main hotplug2 instance calls udevtrigger as well
SVN-Revision: 30916
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot10
1 files changed, 0 insertions, 10 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index c798df3c84..948a09e871 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -87,21 +87,11 @@ start() {
--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
- for iface in $(awk -F: '/:/ {print $1}' /proc/net/dev); do
- /usr/bin/env -i ACTION=add INTERFACE="$iface" /sbin/hotplug-call net
- done
-
# create /dev/root if it doesn't exist
[ -e /dev/root -o -h /dev/root ] || {
rootdev=$(awk 'BEGIN { RS=" "; FS="="; } $1 == "root" { print $2 }' < /proc/cmdline)
[ -n "$rootdev" ] && ln -s "$rootdev" /dev/root
}
-
- # another round of USB coldplugging to kick devices into operation which lacked drivers before
- for dev in /sys/bus/usb/devices/*/uevent; do
- [ -e "$dev" ] && echo -n add > "$dev"
- done
}
stop() {