From 9dc7c8e23a643f639acc622dce80e773331130a5 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 5 Nov 2016 22:36:12 +0100 Subject: [PATCH] Default config file is /etc/bouncer --- TODO | 1 - bouncer.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/TODO b/TODO index f992cea..eb884da 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,3 @@ -- location of default config file - configurable names of PAM modules - per-account weights diff --git a/bouncer.c b/bouncer.c index 4c03590..a86bafd 100644 --- a/bouncer.c +++ b/bouncer.c @@ -545,7 +545,7 @@ static struct opt_section options = { int main(int argc UNUSED, char **argv) { - cf_def_file = "config"; // FIXME + cf_def_file = "/etc/bouncer"; cf_declare_section("Bouncer", &bouncer_cf, 0); opt_parse(&options, argv+1); -- 2.39.2