summaryrefslogtreecommitdiffstats
path: root/src/config/config.c
diff options
context:
space:
mode:
authorMichael Brown2012-06-09 20:00:04 +0200
committerMichael Brown2012-06-09 20:00:04 +0200
commitaddf699c86ae18edd7de13433da78be926c22504 (patch)
tree7c43a348e84cab90ab095ef6425d800beb17e1d7 /src/config/config.c
parent[tls] Mark security negotiation as a pending operation (diff)
downloadipxe-addf699c86ae18edd7de13433da78be926c22504.tar.gz
ipxe-addf699c86ae18edd7de13433da78be926c22504.tar.xz
ipxe-addf699c86ae18edd7de13433da78be926c22504.zip
[cmdline] Add "sync" command
Add "sync" command (loosely based on the Unix "sync"), which will wait for any pending operations to complete. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/config.c')
-rw-r--r--src/config/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c
index eebd849b..202da726 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -241,6 +241,9 @@ REQUIRE_OBJECT ( reboot_cmd );
#ifdef CPUID_CMD
REQUIRE_OBJECT ( cpuid_cmd );
#endif
+#ifdef SYNC_CMD
+REQUIRE_OBJECT ( sync_cmd );
+#endif
/*
* Drag in miscellaneous objects