There is two ways to handle when the manager puts you on the "legacy" system:
1.) When the word "legacy" is being said, you immediately respond with "I quit". Timing is the essence. You have to be prepared for that, always.
2.) You turn Eastern-European. There was a time, everyone had a job, they could not fire you, even if they fired you, some other company had to give you a job. Breathe in the feeling. Nothing matters. Then come to forums like this, spend your day reading newspaper or books, learn about electronics. It works for millions of people.