1832552 Members
5970 Online
110043 Solutions
New Discussion

Re: /etc/rc

 
SOLVED
Go to solution
Roberto Severo
Advisor

/etc/rc

I've lost my /etc/rc file on my system. Does anybody know how can i recover this file???
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: /etc/rc

Hi Roberto,

What kind of backups do you have ?

Robert-Jan.
Jim Walls
Trusted Contributor
Solution

Re: /etc/rc

Roberto,
What HP-UX are you running?

As far as I am aware, 10.20, 11.00, and 11.11 do NOT use /etc/rc! The startup scripts are in /sbin/rc[0-4].d and are run by the /sbin/rc script. In general, ALL the startup script files are kept in /sbin/init.d with links from the appropriate /sbin/rc[0-4].d

See attachment for my /sbin/rc

Regards
Jim
Jim Walls
Trusted Contributor

Re: /etc/rc

Roberto,
Sorry for the misleading reply, I've just seen your other posting... you say you are running HP-UX 9.x.

It is possible that you can adapt the later /sbin/rc script for your purpose but I would recommend you get the original from your backup (or from another 9.x system).

Regards
Jim


Patrick Wessel
Honored Contributor

Re: /etc/rc

Roberto,
I assume you are running hp-ux 9.xx? Try the rc script in the /etc/newconfig directory
There is no good troubleshooting with bad data