tinyproxy: fix default config binary flags
authorFlorian Fainelli <florian@openwrt.org>
Tue, 4 Dec 2012 16:21:07 +0000 (16:21 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 4 Dec 2012 16:21:07 +0000 (16:21 +0000)
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 <fercerpav@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34494

net/tinyproxy/files/tinyproxy.config

index dc4fb4f9cd7f9857dbd83c1423a234d333f749dc..c8127234023a869e63415461c922ad700d77c09a 100644 (file)
@@ -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.