Railways earns over Rs 5m from salons in last three years