mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 05:52:48 +07:00
reboot: Reboot via Finit + watchdogd may take a while
This patch increases the default wait, 2 --> 5 sec, while pending for Finit + watchdogd controlled reboot/shutdown. We don't want to hand back the prompt when we're not really ready yet. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
+1
-1
@@ -207,7 +207,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (c)
|
||||
err(1, "Failed signalling init to %s", msg);
|
||||
do_sleep(2);
|
||||
do_sleep(5);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user