summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/config.h9
-rw-r--r--src/core/config.c8
2 files changed, 17 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 6fd3deb53..cedd68bce 100644
--- a/src/config.h
+++ b/src/config.h
@@ -112,6 +112,15 @@
/* @BEGIN general.h
*
+ * Command-line commands to include
+ *
+ */
+#define NVO_CMD /* Non-volatile option storage commands */
+
+/* @END general.h */
+
+/* @BEGIN general.h
+ *
* Obscure configuration options
*
* You probably don't need to touch these.
diff --git a/src/core/config.c b/src/core/config.c
index b2cf09411..fa3a4b0fe 100644
--- a/src/core/config.c
+++ b/src/core/config.c
@@ -140,6 +140,14 @@ REQUIRE_OBJECT ( pxe );
#endif
/*
+ * Drag in all requested commands
+ *
+ */
+#ifdef NVO_CMD
+REQUIRE_OBJECT ( nvo_cmd );
+#endif
+
+/*
* Drag in miscellaneous objects
*
*/