Yeah, if you drop in a Linux shell on their various platforms you can find shell scripts dotted around. The boxes run Linux so that isn't surprising really.
The programmed routes go into hardware on the bigger systems, and either way there is no Linux kernel routing involved at all.
Edit: If I'm not mistaken I think Linux is actually used in some platforms for routing the out of band management interface, but not transit traffic.