From 90ec859959ae33dcbe8d2428f32c1bb5ab038d81 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Sat, 31 Jan 2015 15:45:11 +0100 Subject: [PATCH] mcproxy: uci config improvements and fixes - fix /var/etc race condition (uci config) - start mcproxy later - rework mcproxy config trigger - add network triggers - simplify uci instances generation and allow querier only configs - improve uci tables generation - fix uci behaviour generation for specific interface names MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Fernández Rojas --- mcproxy/Makefile | 4 +- mcproxy/files/mcproxy.init | 85 ++++++++++++++++++++++---------------- 2 files changed, 51 insertions(+), 38 deletions(-) diff --git a/mcproxy/Makefile b/mcproxy/Makefile index cb3fb20..be96bc7 100644 --- a/mcproxy/Makefile +++ b/mcproxy/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2014 OpenWrt.org +# Copyright (C) 2014-2015 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mcproxy PKG_SOURCE_VERSION:=b7bd2d0809a0d1f177181c361b9a6c83e193b79a PKG_VERSION:=2014-12-31-$(PKG_SOURCE_VERSION) -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=git://github.com/mcproxy/mcproxy.git diff --git a/mcproxy/files/mcproxy.init b/mcproxy/files/mcproxy.init index a7584e8..60e4c87 100644 --- a/mcproxy/files/mcproxy.init +++ b/mcproxy/files/mcproxy.init @@ -1,47 +1,45 @@ #!/bin/sh /etc/rc.common -# Copyright (C) 2014 OpenWrt.org +# Copyright (C) 2014-2015 OpenWrt.org -START=50 +START=99 USE_PROCD=1 -# mcproxy_list_iface