tinyproxy: fix default config binary flags
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 4 Dec 2012 16:21:07 +0000 (16:21 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@34494 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/tinyproxy/files/tinyproxy.config

index dc4fb4f..c812723 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.