From ebd632e188b9d647e31989f27c80124a8899cc33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Wed, 13 Feb 2019 16:43:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B7=D0=B0=D0=BF=D1=83=D1=81?= =?UTF-8?q?=D0=BA=20consolefont=20=D0=B2=20=D0=BA=D0=BE=D0=BD=D1=86=D0=B5?= =?UTF-8?q?=20=D0=B7=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=BA=D0=B8=20=D1=81?= =?UTF-8?q?=D0=B8=D1=81=D1=82=D0=B5=D0=BC=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plymouth.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plymouth.c b/plymouth.c index ab25871..7089150 100644 --- a/plymouth.c +++ b/plymouth.c @@ -82,6 +82,11 @@ int commandf(const char* cmd, ...) return command(buffer); } +void restart_console_font() +{ + if(RC_SERVICE_STARTED == rc_service_state("consolefont")) + command("/etc/init.d/consolefont restart"); +} bool ply_message(const char* hook, const char* name) { @@ -237,6 +242,7 @@ int rc_plugin_hook(RC_HOOK hook, const char *name) DBG("ply_quit(PLY_MODE_BOOT)"); if(!ply_quit(PLY_MODE_BOOT)) rv = 1; + restart_console_font(); } break;