Only seed database for Debian install if we're using default config
[onak.git] / onak-conf.c
index 0958502b4d57923119fa0f75d337f58bbe8e301f..70990f87b174ab5565be42d9cf54088265bae512 100644 (file)
@@ -17,6 +17,8 @@
 #include "log.h"
 #include "onak-conf.h"
 
+extern struct dbfuncs DBFUNCS;
+
 /*
  *     config - Runtime configuration for onak.
  *
@@ -49,6 +51,8 @@ struct onak_config config = {
         */
        NULL,                   /* db_backend */
        NULL,                   /* backends_dir */
+
+       &DBFUNCS,               /* Default dbfuncs struct */
 };
 
 void readconfig(const char *configfile) {