Rigging a Mirrored Object?

I was wondering how to add a working armature to both sides of an object that has a mirror modifier. Any suggestions?

Never mind–I found out.