Configuring Boot Scripts in SUSE Studio
From openSUSE
Start
FAQ
Tour
Howto
API
Bugs
Support
Download
If you want your script to run on every boot, you have two options. One is using the "Scripts" option on the "Configuration" Tab; two is writing your own service.
By using the "Scripts" option, your script will be run before any service. If that is want you want, check the "Run script whenever the appliance boots" option and write your script.
If what you want is to run your script after the other services, create your own service. In order to do that, copy /etc/init.d/skeleton file and adapt it to your needs. Set the required_start to $ALL so it runs after all the other services. Then, upload this file to the overlay section and add an "insserv script_name" line on the "firstboot section" (See configuring firstboot scripts ).
You've added boot scripts. Now you may want to add some firstboot scripts. If so go to Configuring_First_Boot_Scripts_in_SUSE_Studio .
If you are ready with scripts but want to add yast2 firstboot, go to Configuring_YaST2_First_Boot_in_SUSE_Studio.
If you are done with this kind of configuration, you can go and add some more files by going to Adding_Files_in_SUSE_Studio

