boot: Use host-passthrough instead of host-model.
[mclu.git] / mclu.ml
diff --git a/mclu.ml b/mclu.ml
index ff8103b..b4bbf94 100644 (file)
--- a/mclu.ml
+++ b/mclu.ml
@@ -20,6 +20,8 @@ open Utils
 
 open Printf
 
+let () = Random.self_init ()
+
 let config_file =
   let default =
     try Sys.getenv "MCLU_CONFIG"
@@ -67,6 +69,9 @@ let anon_fun, get_anon_args =
       | "on" ->
         speclist := Mclu_onoff.get_arg_speclist ();
         subcommand_run := Mclu_onoff.run ~on:true
+      | "reboot" ->
+        speclist := Mclu_reboot.get_arg_speclist ();
+        subcommand_run := Mclu_reboot.run
       | "status" ->
         speclist := Mclu_status.get_arg_speclist ();
         subcommand_run := Mclu_status.run