Developing lightweight computation at the DSG edge

Commit 35aea0a5 authored by p4u's avatar p4u
Browse files

Remove bmx6 throw rule quick hack since it is not needed anymore

parent ff5eee56
......@@ -248,18 +248,6 @@ qmp_configure_lan_v6() {
qmp_radvd_enable_route lan fc00::/7
/etc/init.d/radvd restart
echo "Adding quick hack to solve bmx6 ipv6 throw rules problem"
if [ $(cat /etc/rc.local | grep -c ^#BMX6_ULA_LAN_IPV6_HACK) -lt 1 ]; then
sed -i -e "/^exit 0/d" /etc/rc.local
echo "" >> /etc/rc.local
echo "#BMX6_ULA_LAN_IPV6_HACK" >> /etc/rc.local
echo "ip -6 route add $ulan_net dev br-lan table 60" >> /etc/rc.local
echo "ip -6 rule add pref 5000 table 50" >> /etc/rc.local
fi
ip -6 route add $ulan_net dev br-lan table 50
ip -6 rule add pref 5000 table 50
echo "Done"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment