The init script expects uci-style 1/0 and not Yes/No or On/Off in the config.
Amend the commented-out configuration directives accordingly.

Signed-off-by: Paul Fertser <fercer...@gmail.com>
---
 net/tinyproxy/files/tinyproxy.config |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/net/tinyproxy/files/tinyproxy.config 
b/net/tinyproxy/files/tinyproxy.config
index dc4fb4f..c812723 100644
--- a/net/tinyproxy/files/tinyproxy.config
+++ b/net/tinyproxy/files/tinyproxy.config
@@ -68,7 +68,7 @@ option StatFile "/usr/share/tinyproxy/stats.html"
 # but not both.
 #
 option LogFile "/var/log/tinyproxy.log"
-#option Syslog On
+#option Syslog 1
 
 #
 # Set the logging level. Allowed settings are:
@@ -148,27 +148,27 @@ option ViaProxyName "tinyproxy"
 #
 # Filter based on URLs rather than domains.
 #
-#option FilterURLs On
+#option FilterURLs 1
 
 #
 # Use POSIX Extended regular expressions rather than basic.
 #
-#option FilterExtended On
+#option FilterExtended 1
 
 #
 # Use case sensitive regular expressions.
 #                                                                         
-#option FilterCaseSensitive On     
+#option FilterCaseSensitive 1
 
 #
 # Change the default policy of the filtering system.  If this directive is
-# commented out, or is set to "No" then the default policy is to allow
+# commented out, or is set to "0" then the default policy is to allow
 # everything which is not specifically denied by the filter file.
 #
-# However, by setting this directive to "Yes" the default policy becomes to
+# However, by setting this directive to "1" the default policy becomes to
 # deny everything which is _not_ specifically allowed by the filter file.
 #
-#option FilterDefaultDeny Yes
+#option FilterDefaultDeny 1
 
 #
 # If an Anonymous keyword is present, then anonymous proxying is enabled.
-- 
1.7.9.5

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to