From 0cb8eb3b0c28451ef26bc0b7aa1fe5c8463ec12b Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Fri, 14 Jun 2013 21:58:02 +0000 Subject: contrib/freifunk-policyrouting: User higher prio for fallback ip rule so that this rule will be after all rules which are added by netifd for openwrts new native ip support --- contrib/package/freifunk-policyrouting/Makefile | 2 +- .../freifunk-policyrouting/files/etc/init.d/freifunk-policyrouting | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'contrib') diff --git a/contrib/package/freifunk-policyrouting/Makefile b/contrib/package/freifunk-policyrouting/Makefile index a5f576e98..22fdc59cb 100644 --- a/contrib/package/freifunk-policyrouting/Makefile +++ b/contrib/package/freifunk-policyrouting/Makefile @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=freifunk-policyrouting -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) diff --git a/contrib/package/freifunk-policyrouting/files/etc/init.d/freifunk-policyrouting b/contrib/package/freifunk-policyrouting/files/etc/init.d/freifunk-policyrouting index df98c982b..b3720e60a 100755 --- a/contrib/package/freifunk-policyrouting/files/etc/init.d/freifunk-policyrouting +++ b/contrib/package/freifunk-policyrouting/files/etc/init.d/freifunk-policyrouting @@ -88,7 +88,7 @@ add_lookup_rule() { else rule="rule" fi - + uci batch <<- EOF set network.${name}ipv${p}="$rule" set network.${name}ipv${p}.lookup="$lookup" @@ -116,7 +116,7 @@ start() { add_lookup_rule localnets localnets 2000 if [ "$fallback" = 1 ]; then - add_lookup_rule olsr-default olsr-default 33000 + add_lookup_rule olsr-default olsr-default 100000 fi fi uci commit network -- cgit v1.2.3