From 2ef06eacc2be08b0268c98a4d157176aff9356e0 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 4 Jun 2009 14:58:14 +0100 Subject: Added 'sleep' command. --- src/generator.ml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/generator.ml b/src/generator.ml index bb3744ed..ffee564e 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -2311,6 +2311,13 @@ even if the filesystem appears to be clean (C<-f>). This command is only needed because of C (q.v.). Normally you should use C."); + ("sleep", (RErr, [Int "secs"]), 109, [], + [InitNone, Always, TestRun ( + [["sleep"; "1"]])], + "sleep for some seconds", + "\ +Sleep for C seconds."); + ] let all_functions = non_daemon_functions @ daemon_functions -- cgit