lpm.rc: clean almost all useless and unused stuff