To do something or be fired. To do something or leave.
To meet a quota/goal or be fired. To do what you're told or get out.
Usually used as a threat to get something done when all other avenues have failed.
Salesmen 1: During our sales meeting, our manager told us if we didn't make quota for the month, we'd be fired.
Salesmen 2: Yeah, I guess it's fuck or walk.