mirror of
https://github.com/troglobit/finit.git
synced 2026-11-12 16:51:25 +00:00
Rename finit command line option finit.show_status -> finit.status
Usability. Remains backwards compatible for now, but finit.show_status is as of 4.3 deprecated. Likely to be removed int 5.0 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
16aef80682
commit
3d91112e0d
3 files changed
+8
-7
No files matched your search
+2
-2
@@ -15,8 +15,8 @@ The `bool` setting is one of `on, off, true false, 1, 0`.
|
|||||||
* `finit.debug[=bool]`: Enable finit debug. This is operated
|
* `finit.debug[=bool]`: Enable finit debug. This is operated
|
||||||
independently of the kernel debug setting. New as of Finit v4.
|
independently of the kernel debug setting. New as of Finit v4.
|
||||||
|
|
||||||
* `finit.show_status[=bool]`: Control finit boot progress, including
|
* `finit.status[=bool]`: Control finit boot progress, including banner.
|
||||||
banner.
|
(Used to be `finit.show_status`, which works but is deprecated.)
|
||||||
|
|
||||||
* `finit.status_style=<classic,modern>`: Set Finit boot progress style,
|
* `finit.status_style=<classic,modern>`: Set Finit boot progress style,
|
||||||
when enabled.
|
when enabled.
|
||||||
|
|||||||
+3
-2
@@ -11,8 +11,9 @@
|
|||||||
.Nd Fast init for Linux systems
|
.Nd Fast init for Linux systems
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm /sbin/finit
|
.Nm /sbin/finit
|
||||||
.Op finit.status_style=classic
|
.Op --
|
||||||
.Op finit.show_status=[on,off]
|
.Op finit.status=[on,off]
|
||||||
|
.Op finit.status_style=[classic,modern]
|
||||||
.Op finit.debug
|
.Op finit.debug
|
||||||
.Op rescue | recover
|
.Op rescue | recover
|
||||||
.Op single | S
|
.Op single | S
|
||||||
|
|||||||
+3
-3
@@ -86,8 +86,8 @@ fallback:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* finit.debug = [on,off]
|
* finit.debug = [on,off]
|
||||||
* finit.show_status = [on,off]
|
* finit.status = [on,off] (compat finit.show_status)
|
||||||
* finit.status_style = [old,classic,modern]
|
* finit.status_style = [old,classic,modern]
|
||||||
*/
|
*/
|
||||||
static void parse_finit_opts(char *opt)
|
static void parse_finit_opts(char *opt)
|
||||||
@@ -116,7 +116,7 @@ static void parse_finit_opts(char *opt)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (string_compare(opt, "show_status")) {
|
if (string_compare(opt, "status") || string_compare(opt, "show_status")) {
|
||||||
show_progress(get_bool(arg, 1) ? PROGRESS_DEFAULT : PROGRESS_SILENT);
|
show_progress(get_bool(arg, 1) ? PROGRESS_DEFAULT : PROGRESS_SILENT);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user