Boot Sequence


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Boot Sequence
# 1  
Old 01-25-2006
Boot Sequence

Hi everybody,

I have to create a script and put it in the boot up sequence .
Can you give me the path where i can put it?

Sorry it's my first script.

DElphine
# 2  
Old 01-25-2006
Hi,

Thanks for your answer :
HPUX-1.0.20.7-040

DElphine
# 3  
Old 01-25-2006
In HP-UX, the directory is /sbin/init.d. This is where your startup script should be. You will find a template script in that directory that you can copy and modify. But as RTM said, there is more to it than that. There is another directory /etc/rc.config.d where you have files that specify whether a service should start during boot or not. Go through a few other startup scripts to see how that works. Lastly create links in the /sbin/rc?.d directory. The links are of the form S??scriptname and K??scriptname and are linked to the startup script in /sbin/init.d directory.
# 4  
Old 01-25-2006
Thanks a lot from France
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

find common entries and match the number with long sequence and cut that sequence in output

Hi all, I have a file like this ID 3BP5L_HUMAN Reviewed; 393 AA. AC Q7L8J4; Q96FI5; Q9BQH8; Q9C0E3; DT 05-FEB-2008, integrated into UniProtKB/Swiss-Prot. DT 05-JUL-2004, sequence version 1. DT 05-SEP-2012, entry version 71. FT COILED 59 140 ... (1 Reply)
Discussion started by: manigrover
1 Replies

2. Solaris

Solaris x86 installation using jumpstart does not local boot ( boot from hdd)

I am trying to install Solaris x86 using the Jumpstart server. I run the add_install_client command with appropriate options, and reboot my x86 Target box. The installation starts fine and unattended. After the installation completes and the target goes for a re-boot, it does not boot from the HDD... (9 Replies)
Discussion started by: hemalsid
9 Replies

3. Boot Loaders

Reboot and Select Proper Boot device or insert Boot media in select Boot device and press a key

Hello, I have kubuntu on my laptop and now I decided to switch to Windows 7. I made the bios settings properly (first choice is boot from cd\vd) but I see the error " reboot and select proper Boot device or insert Boot media in select Boot device and press a key " I have tried CD and... (0 Replies)
Discussion started by: rpf
0 Replies

4. Filesystems, Disks and Memory

Boot Sequence changed After Image Restore

Hello All, I backed up my RHEL 4 as an image. Then I restored the image on my machine. Everything went fine but I dont get the normal boot sequence as it used to come when I freshly installed RHEL4. The messages that are shown when the system boots are something like- " ..... EXT3-fs:... (2 Replies)
Discussion started by: shamik
2 Replies

5. Solaris

how to change the boot sequence?

Hi all, I have solaris and xp installed... Usually solaris occupies the first boot slot. So i wanted to know if it is possible to change the boot sequence to xp first and then solaris? (5 Replies)
Discussion started by: wrapster
5 Replies

6. Linux

linux 2.4 boot up sequence

I am running linux red hat and I need to know the command to view the boot up process.... (that is the driver initialization, drive mount, etc).... Does anyone know this command? (7 Replies)
Discussion started by: Franco
7 Replies

7. UNIX for Dummies Questions & Answers

Wierd boot-up sequence

Hi, I have two machines, one is a E3500 and the other one is a V490; I face a strange issue with both of them. The boot up sequence gives the output of the devalias command. Has anybody faced this?? Please do let me know what needs to be done o resolve this. Regards, NP (1 Reply)
Discussion started by: nitinp82
1 Replies

8. UNIX for Dummies Questions & Answers

Script in boot sequence

Hi , I have some problems with my library when the sytem boot : When HPUX is booting, HPUX and STAPE claim the drive initially. HPUX assigns an instance number. The instance number is tied to the hardware path. Near the end of the boot, the ATDD driver claims the drive from STAPE based... (1 Reply)
Discussion started by: delphine
1 Replies

9. Solaris

solaris boot problem boot error loading interpreter(misc/krtld)

When I installed the SOLARIS 10 OS first time, the desktop would not start up, this was because of network setup. Reinstalled worked. After a week due to some problem I had to reinstall OS, installation went fine and but when i reboot I get this error. cannot find mis/krtld boot error loading... (0 Replies)
Discussion started by: johncy_j
0 Replies

10. UNIX for Advanced & Expert Users

Unix Boot Sequence

Hello all Unix fans. What files are involved in the Unix boot sequence, i guess there is alot of them but some must be the main files? For example the service SENDMAIL starts on our Unix machine where should i edit so that it will not start at BOOT. initd.conf? rc2.d? I hope you... (6 Replies)
Discussion started by: sajjan2
6 Replies
Login or Register to Ask a Question