alexmaloteaux/metasploit-framework — pull request #1 by jlee-r7 (2012-10-03 19:42:58+00:00)
Title: Make Linux Persistence an Exploit::Local module

This is what I meant in this comment: https://github.com/rapid7/metasploit-framework/pull/629#issuecomment-7149400

By using Exploit::Local, we can avoid all the duplication of generating a payload and starting a handler.