Which distribution are you running? If your profile is correct, you say you are running Kubuntu; and Kubuntu (like the other *buntus) should have an /etc/rc.d/rc.local file.
If you have an /etc/rc.local, though, you can add it to there.
You should really avoid making any modifications to the /etc/rc#.d files, especially when it's for custom, user commands to be run on boot. Hence why you should always add your custom stuff to /etc/rc.local.