To serve one's own selfish ends; to get one's work done by any means.
Literally: 'to straighten one's owl'