RHEL5 Run script on Server's first boot
Is there any reason you NEED to use the firstboot service?
Take a look at: How to run script on first boot?
Create a script that tests for the existence or absence of a file. As the last step of a successful run of the script create/delete the status file. When preparing your image, you need to make sure the your status file is in the correct state.