Changeset 34494


Ignore:
Timestamp:
2012-12-04T17:21:07+01:00 (5 years ago)
Author:
florian
Message:

tinyproxy: fix default config binary flags

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@…>
Signed-off-by: Florian Fainelli <florian@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/tinyproxy/files/tinyproxy.config

    r29173 r34494  
    6969# 
    7070option LogFile "/var/log/tinyproxy.log" 
    71 #option Syslog On 
     71#option Syslog 1 
    7272 
    7373# 
     
    149149# Filter based on URLs rather than domains. 
    150150# 
    151 #option FilterURLs On 
     151#option FilterURLs 1 
    152152 
    153153# 
    154154# Use POSIX Extended regular expressions rather than basic. 
    155155# 
    156 #option FilterExtended On 
     156#option FilterExtended 1 
    157157 
    158158# 
    159159# Use case sensitive regular expressions. 
    160160#                                                                          
    161 #option FilterCaseSensitive On      
     161#option FilterCaseSensitive 1 
    162162 
    163163# 
    164164# Change the default policy of the filtering system.  If this directive is 
    165 # commented out, or is set to "No" then the default policy is to allow 
     165# commented out, or is set to "0" then the default policy is to allow 
    166166# everything which is not specifically denied by the filter file. 
    167167# 
    168 # However, by setting this directive to "Yes" the default policy becomes to 
     168# However, by setting this directive to "1" the default policy becomes to 
    169169# deny everything which is _not_ specifically allowed by the filter file. 
    170170# 
    171 #option FilterDefaultDeny Yes 
     171#option FilterDefaultDeny 1 
    172172 
    173173# 
Note: See TracChangeset for help on using the changeset viewer.