Would this not be there on second boot as well? I only need this to run on first boot.
Main Topics
Browse All TopicsI have created an image using SLES 9, this image contains a database, a web server and a retail application. All aspects of this image is working I have a script that configures each image for its location, ie it enters location number terminal number time zone and so on there is user interaction needed for some perameters. I would like to have this script auto start on first boot only and before KDE launches if possible. so basicaly when the image is restored on a machine it would boot to the first prompt on the script asking for user imput then user enters all needed info the script reboots the system automaticaly at the end, when the system comes back up all configuration is done. this looks like a lot can someone help please.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
remote none admin techs will be doing the install, so I would like to automate the process so they dont need the root password, and yes I can create a sudo file so they dont need the root password but I would rather have it seamless. I will add it to rc5.d as I have the retail app, I will add a removal of the soft link so it will not be available every time the machine gets booted.
Thanks,
Business Accounts
Answer for Membership
by: savonePosted on 2009-06-24 at 05:24:17ID: 24700310
Well there are a few different ways you can do this.
You can add the script to /etc/rc5.d/ (might be /etc/init.d/rc5.d in SUSE)
name it something like S99scriptname and it will start last, you can make it start before other things by changing the number. S41scriptname would start after whatever is named S40 (or any number lower) and before S42 (or any number larger).
You dont have to move the script, you can make a link also.