commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd-l4/wortel shutdown.c


From: Marcus Brinkmann
Subject: hurd-l4/wortel shutdown.c
Date: Mon, 08 Sep 2003 07:22:58 -0400

CVSROOT:        /cvsroot/hurd
Module name:    hurd-l4
Branch:         
Changes by:     Marcus Brinkmann <address@hidden>       03/09/08 07:22:58

Modified files:
        wortel         : shutdown.c 

Log message:
        Sleep 10 seconds before rebooting.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/wortel/shutdown.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: hurd-l4/wortel/shutdown.c
diff -u hurd-l4/wortel/shutdown.c:1.2 hurd-l4/wortel/shutdown.c:1.3
--- hurd-l4/wortel/shutdown.c:1.2       Sun Sep  7 21:41:03 2003
+++ hurd-l4/wortel/shutdown.c   Mon Sep  8 07:22:57 2003
@@ -26,6 +26,9 @@
 
 #include "shutdown.h"
 
+/* Time to sleep (in seconds) before reset.  */
+
+#define SLEEP_TIME 10
 
 /* Reset the machine at failure, instead halting it.  */
 int shutdown_reset;
@@ -43,7 +46,7 @@
 {
   if (shutdown_reset)
     {
-      /* FIXME: Sleep here for a couple of seconds.  */
+      l4_sleep (SLEEP_TIME);
       reset ();
     }
   else




reply via email to

[Prev in Thread] Current Thread [Next in Thread]