From 88df887bbc6905ab83ac66e284ebcd585c1d71e4 Mon Sep 17 00:00:00 2001 From: luka Date: Mon, 16 Jul 2012 22:53:46 +0000 Subject: [PATCH] [packages] privoxy: move privoxy startup to later in boot process When using privoxy as a transparent HTTP proxy a race condition occurs where privoxy may attempt to startup and start listening on the LAN interface before the network configuration is completed. As a result privoxy fails to start up because it can't bind to the correct listening address. This patch changes the init.d script to be a little bit later in the boot process. Signed-off-by: Adam Gensler git-svn-id: svn://svn.openwrt.org/openwrt/packages@32759 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/privoxy/Makefile | 2 +- net/privoxy/files/privoxy.init | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/privoxy/Makefile b/net/privoxy/Makefile index e4b45cf76..8539ed74a 100644 --- a/net/privoxy/Makefile +++ b/net/privoxy/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=privoxy PKG_VERSION:=3.0.19 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-stable-src.tar.gz PKG_SOURCE_URL:=@SF/ijbswa diff --git a/net/privoxy/files/privoxy.init b/net/privoxy/files/privoxy.init index 0afe4c490..78c29b474 100644 --- a/net/privoxy/files/privoxy.init +++ b/net/privoxy/files/privoxy.init @@ -1,8 +1,8 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006-2011 OpenWrt.org -START=50 -STOP=50 +START=80 +STOP=80 SERVICE_USE_PID=1 -- 2.11.0