You can use rc.local, but you'll have to uncomment the call to rc.local in one of the other rc scripts (sorry can't remember which one ).
It's in /etc/rc.d/init.d
If you want to start a swap file at boot then just put it in your /etc/fstab and the kernel will take care of loading it at boot time.
Stu