1 #!/bin/sh /etc/rc.common
4 . /lib/functions/network.sh
7 prenabled=$(uci get freifunk-policyrouting.pr.enable)
8 if [ ! "$prenabled" = "1" ] || ! network_is_up wan; then
9 uci -q delete olsrd.@olsrd[0].RtTable
10 uci -q delete olsrd.@olsrd[0].RtTableDefault