packages/net/redsocks/patches/0006-fix_default_config_location.patch
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00

17 lines
551 B
Diff

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