Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
Showing results for 
Search instead for 
Did you mean: 

Startup File

Super Advisor

Startup File

Hello Gurus,

Can I put the following line in /etc/inittab file, to execute during the server reboot, on one of my Tru64 node?


Where, I have /etc/rc.local file which have files to execute?

Ivan Ferreira
Honored Contributor

Re: Startup File

I think that probably it will work. You can also:

Create an init script and put it on /sbin/init.d

Add the commands to /etc/rc.inet
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Venkatesh BL
Honored Contributor

Re: Startup File

Yes, you can confirm with manpage of 'inittab'...

Each line in the inittab file contains an entry that has four fields; each field is separated by a colon. There is no limit to the number of entries in the inittab file. The entry syntax is as follows:

Regular Advisor

Re: Startup File

yes it will work
Vijeta Bhedi
Kapil Jha
Honored Contributor

Re: Startup File

your option (rc.local)is better than probably putting various lines in inittab file.
Some file looks good when they are small ;).

Anyways both method will work.
I am in this small bowl, I wane see the real world......
Pieter 't Hart
Honored Contributor

Re: Startup File

the normal way to add startup scripts is to place it in /sbin/init.d
(It's nice if it has start/stop/restart sections)
and add a link (S for start and K for stop) in /sbin/rc.d ; depending in wich runlevel you want it started in.

edditing inittab may be overwritten when upgrading to an newer version (not very likely when V5.1b)