diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-09-20 10:19:24 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-09-20 10:19:24 +0000 |
commit | ca32501abe739fcb00bab62a48fe02a0dabba8a5 (patch) | |
tree | 842ee8f55a4626898daa93e07962af54e4e02b34 | |
parent | bbde4161d56a495c61cde7d48aee131ffb806482 (diff) | |
download | mtk-20170518-ca32501abe739fcb00bab62a48fe02a0dabba8a5.zip mtk-20170518-ca32501abe739fcb00bab62a48fe02a0dabba8a5.tar.gz mtk-20170518-ca32501abe739fcb00bab62a48fe02a0dabba8a5.tar.bz2 |
add --no-coldplug to the hotplug2 process started by /etc/init.d/boot - should prevent duplicate ifup actions. thx, ffrrrr.
SVN-Revision: 8864
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index aff47cf..c0b6192 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -41,7 +41,7 @@ start() { ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf [ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe - /sbin/hotplug2 --override --persistent --max-children 1 & + /sbin/hotplug2 --override --persistent --max-children 1 --no-coldplug & # 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 |