mirror of
https://github.com/troglobit/finit.git
synced 2026-10-18 10:59:34 +00:00
Add support for optional reboot delay
Slightly different take on issue #334 making it optional, possible to enable per system. reboot-delay <0-60> # default: 0 (disabled) When enabled (non-zero), runs after filesystems have been unmounted, the root filesystems has been remounted read-only, and sync(2) has been called, twice. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
c22d123ab0
commit
311c6be9aa
5 files changed
+42
No files matched your search
@@ -70,6 +70,7 @@ int rescue = 0; /* rescue mode from kernel cmdline */
|
||||
int single = 0; /* single user mode from kernel cmdline */
|
||||
int bootstrap = 1; /* set while bootrapping (for TTYs) */
|
||||
int kerndebug = 0; /* set if /proc/sys/kernel/printk > 7 */
|
||||
int syncsec = 0; /* reboot delay */
|
||||
char *finit_conf= NULL;
|
||||
char *finit_rcsd= NULL;
|
||||
char *fstab = NULL;
|
||||
|
||||
Reference in new issue
Block a user