1833758 Members
2638 Online
110063 Solutions
New Discussion

Resetting of Set_parms

 
dave daniels_2
Valued Contributor

Resetting of Set_parms

In my old manufacturing days I recall a file that we would delete to enable set_parms to
be reset. That way at the next power up the
user was prompted for the info.

For the life of me I can not recall what this was.
Thanks,
Dave
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor

Re: Resetting of Set_parms

Hi Dave:

From a quick look at the code, it appears that if you null the 'hostname' variable in /etc/rc.config.d/netconf this will trigger /sbin/set_parms to conclude that this is it's first run.

I believe that the file you are thinking of is /tmp/install.vars which is deposited during initial system setup (cold-install).

Regards!

...JRF...
Sridhar Bhaskarla
Honored Contributor

Re: Resetting of Set_parms

If you go through /sbin/rc, you will find

#
# If /etc/rc.config contains default information (first boot),
# /sbin/auto_parms will invoke /sbin/set_parms to remedy the situation.
#


auto_parms checks for /tmp/install.vars to invoke set_parms.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try