]> mj.ucw.cz Git - bouncer.git/commitdiff
Default config file is /etc/bouncer
authorMartin Mares <mj@ucw.cz>
Sat, 5 Nov 2016 21:36:12 +0000 (22:36 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 5 Nov 2016 21:36:12 +0000 (22:36 +0100)
TODO
bouncer.c

diff --git a/TODO b/TODO
index f992cea4ea8cc8dc8c2fd0bf8ca4ef3c6317e7d3..eb884da078681ddc5048f6af5f615afe45bcfab6 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,4 +1,3 @@
-- location of default config file
 - configurable names of PAM modules
 - per-account weights
 
index 4c035900799d2f957ee3ada2e00fac7e2935f9a7..a86bafd9e22a6a66af38697ea582dc29353e35a2 100644 (file)
--- 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);