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 <open...@kristenandadam.net>
---
Index: packages/net/privoxy/files/privoxy.init
===================================================================
--- packages/net/privoxy/files/privoxy.init (revision 31828)
+++ packages/net/privoxy/files/privoxy.init (working copy)
@@ -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
Index: packages/net/privoxy/Makefile
===================================================================
--- packages/net/privoxy/Makefile (revision 31828)
+++ packages/net/privoxy/Makefile (working copy)
@@ -9,7 +9,7 @@
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
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel