A linear differential system with general linear boundary conditions