Operating System - Tru64 Unix
1829141 Members
5017 Online
109986 Solutions
New Discussion

Re: recover from a deleted rc.config possible?

 
Joseph Stateson_1
New Member

recover from a deleted rc.config possible?

/etc/rc.config was inadvertantly deleted. Can it be rebuilt somehow? Is there a generic rc.config that I can download or get by email somewhere? Currently I can only boot using that "safe option"

..thanks..
2 REPLIES 2
Abdul Rahiman
Esteemed Contributor

Re: recover from a deleted rc.config possible?

Hi,

I am not sure where you can find a generic version of the rc.config file, though I am pretty positive there's gotta be one in the Base OS CD-ROM's somewhere.

Couple of options, hopefully would work.
1. Configure the network setup again using
# sysman - I think if you provide all parameters as existed, it should recreate the rc.config file for you.
2. Or may be you can give it a shot with attached rc.config file which I copy-pasted from my system (GS140, Tru64 v5.1, PK5). If you remember your configuration, you would have to edit quite a bit of variables like HOSTNAME,IFCONFIG_xx, NETDEV_xx etc.. to get this right.

Use "rcmgr" command to edit this file (recommended way ..)
regds,
Abdul.
No unix, no fun
Ralf Puchner
Honored Contributor

Re: recover from a deleted rc.config possible?

check the /etc directory about .* files which are templates.

If you can not find any template, it is time to check your backup (hopefully you have one or is this only a "playing" system?).
Help() { FirstReadManual(urgently); Go_to_it;; }