diff options
-rw-r--r-- | signal.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -26,6 +26,7 @@ static void do_reboot(void) LOG("reboot\n"); fflush(stderr); sync(); + sleep(2); reboot(RB_AUTOBOOT); while (1) ; |
index : oe/unitd | ||
Lightweight modern init system based on procd | Matthias Schiffer <mschiffer@universe-factory.net> |
summaryrefslogtreecommitdiffstats |
-rw-r--r-- | signal.c | 1 |
@@ -26,6 +26,7 @@ static void do_reboot(void) LOG("reboot\n"); fflush(stderr); sync(); + sleep(2); reboot(RB_AUTOBOOT); while (1) ; |