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:
Joachim Nilsson
2018-01-04 11:20:08 +01:00
parent 71915e0e14
commit 90734eee16
+1 -1
View File
@@ -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;
}