lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

0006-fix_default_config_location.patch (551B)


      1 Description: change the default config file location
      2  redsocks by default looks for ./redsocks.conf. Change this to
      3  /etc/redsocks.conf for a more deterministic behaviour.
      4 Author: Apollon Oikonomopoulos <apoikos@gmail.com>
      5 Forwared: no
      6 Last-Update: 2013-04-23
      7 --- a/main.c
      8 +++ b/main.c
      9 @@ -39,7 +39,7 @@ app_subsys *subsystems[] = {
     10  	&dnstc_subsys,
     11  };
     12  
     13 -static const char *confname = "redsocks.conf";
     14 +static const char *confname = "/etc/redsocks.conf";
     15  static const char *pidfile = NULL;
     16  
     17  static void terminate(int sig, short what, void *_arg)