Did the peppermint oil work as a pest repellent?

I've heard for long term storage to use dryer sheets and even Irish Spring soap. I've used both and the mouse / rat will carry away the chunks of Irish Spring soap (1/2 bar!) - I ended up getting a Costco pack to replenish as needed. I don't think they're using my engine compartment as a toilet anymore, at least topside.