Добавлен перезапуск consolefont в конце загрузки системы

calculate-0.1.3
parent a08cdcecbd
commit ebd632e188

@ -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;

Loading…
Cancel
Save