I hear you also.
I --even now-- get through such times by looking PAST them... BEYOND them. Too many times in my life I could look back and think, well if I had just "stuck it out" another few weeks/months it would have been better for me... so I keep that in mind.
It IS only another semester....and you'll be the better for completing it in many ways. (Controlled determination and not being a "quitter" for two.)
You can do this... work at not being bored I think, would be a good place to begin.