mirror of
https://github.com/troglobit/finit.git
synced 2026-10-30 12:50:34 +00:00
Don't hide cursor when shutting down
Users starting Finit based systems using U-Boot or Barebox may otherwise not get a visible cursor at their prompt. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 file changed
-3
@@ -361,9 +361,6 @@ restart:
|
|||||||
|
|
||||||
/* Restore terse mode and run hooks before shutdown */
|
/* Restore terse mode and run hooks before shutdown */
|
||||||
if (runlevel == 0 || runlevel == 6) {
|
if (runlevel == 0 || runlevel == 6) {
|
||||||
/* Hide cursor, we're going down ... */
|
|
||||||
dprint(STDOUT_FILENO, "\033[?25l", 6);
|
|
||||||
|
|
||||||
api_exit();
|
api_exit();
|
||||||
log_exit();
|
log_exit();
|
||||||
plugin_run_hooks(HOOK_SHUTDOWN);
|
plugin_run_hooks(HOOK_SHUTDOWN);
|
||||||
|
|||||||
Reference in new issue
Block a user