mirror of
https://github.com/troglobit/finit.git
synced 2026-10-23 11:44:37 +00:00
Introducing Finit progress 𝓜𝓸𝓭𝓮𝓻𝓷
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
3b62f46599
commit
636f6678ed
4 files changed
+144
-41
No files matched your search
+1
-5
@@ -73,9 +73,6 @@ static int udev = 0; /* Runtime detection of udev */
|
||||
*/
|
||||
static void banner(void)
|
||||
{
|
||||
char *buf = INIT_HEADING;
|
||||
char separator[SCREEN_WIDTH];
|
||||
|
||||
if (plugin_exists(HOOK_BANNER)) {
|
||||
plugin_run_hooks(HOOK_BANNER);
|
||||
return;
|
||||
@@ -84,8 +81,7 @@ static void banner(void)
|
||||
if (log_is_silent())
|
||||
return;
|
||||
|
||||
memset(separator, '=', sizeof(separator));
|
||||
fprintf(stderr, "\n\e[2K\e[1m%s %.*s\e[0m\n", buf, SCREEN_WIDTH - (int)strlen(buf) - 2, separator);
|
||||
print_banner(INIT_HEADING);
|
||||
}
|
||||
|
||||
static int ismnt(char *file, char *dir)
|
||||
|
||||
Reference in new issue
Block a user