You don't need an rc.local, you can use /etc/init.d/bootmisc.sh
to enter the information.