Hmm, i guess this really depends on your current skillset.
If you are considered an expert in a niche enterprise software, you could provide some form of advisory or consulting services.
Alternatively, i got a couple of mates who write mobile applications as residual income, but to be honest its not a lot of money but it does help to build up their portfolio.