From: Martin Mares Date: Sat, 5 Nov 2016 21:36:12 +0000 (+0100) Subject: Default config file is /etc/bouncer X-Git-Tag: v1.0~6 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;ds=sidebyside;h=9dc7c8e23a643f639acc622dce80e773331130a5;p=bouncer.git Default config file is /etc/bouncer --- 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);