diff options
author | Daniel Drake <dsd@laptop.org> | 2010-07-07 21:37:00 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2010-07-07 21:37:00 (GMT) |
commit | 9e99b58427a8550b4eba86ce2970adde3817499e (patch) | |
tree | 7d90cf2f3edada7aa5a5597b669c497a4e4f64e2 /modules | |
parent | 7983830d8172022e912488235554e04460799ccf (diff) |
Remove NetworkManager multicast route hack
This is fixed in NetworkManager-0.7.2.997-2.git20100609.fc11, which will
be included in future builds.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/base/kspost.10.core.inc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/modules/base/kspost.10.core.inc b/modules/base/kspost.10.core.inc index 1306ab7..090de66 100644 --- a/modules/base/kspost.10.core.inc +++ b/modules/base/kspost.10.core.inc @@ -92,21 +92,6 @@ EOF # this allows olpc-configure to set a hostname based on the MAC address echo "NM_IGNORE_HOSTNAME_LOCALHOST=yes" >> /etc/sysconfig/network -# FIXME: fix this bug and remove this hack -cat >/etc/NetworkManager/dispatcher.d/adhoc-route <<EOF -#!/bin/sh -# workaround for http://dev.laptop.org/ticket/9669 -[ "\$1" = "eth0" ] || exit 0 -if [ "\$2" = "down" ]; then - /sbin/ip route del 224.0.0.0/4 dev eth0 &>/dev/null -else - /sbin/iwconfig \$1 | /bin/grep -q "Mode:Ad-Hoc" && \ - /sbin/ip route add 224.0.0.0/4 dev eth0 &>/dev/null -fi -exit 0 -EOF -chmod a+x /etc/NetworkManager/dispatcher.d/adhoc-route - # OLPC CA certificate (#9624) # this is used by wget, but the Web activity uses cert8.db in its own # installation (which is then copied into user's profile dir) |