luci-0.11: merge r9652

This commit is contained in:
Manuel Munz 2013-01-27 00:21:19 +00:00
parent 31e30bb566
commit f8ea6d5b21

View file

@ -1,11 +1,11 @@
#!/bin/sh /etc/rc.common
START=60
. /lib/functions/network.sh
boot()
{
prenabled=$(uci get freifunk-policyrouting.pr.enable)
if [ ! "$prenabled" = "1" ]; then
if [ ! "$prenabled" = "1" ] || ! network_is_up wan; then
uci -q delete olsrd.@olsrd[0].RtTable
uci -q delete olsrd.@olsrd[0].RtTableDefault
uci commit olsrd