Operating System - HP-UX
1825775 Members
2047 Online
109687 Solutions
New Discussion

/etc/rc.config.d/* do control variables exist for every daemon in /sbin/init.d

 
SOLVED
Go to solution
Tim Nelson
Honored Contributor

/etc/rc.config.d/* do control variables exist for every daemon in /sbin/init.d

Does every entry in /sbin/init.d/* get a control variable set in /etc/rc.config.d? The obvious ones like lp and cron are easily identifiable. But take for instance, /sbin/init.d/set_prvgrp, I don't know what this does, nor can I find a control variable to manipulate its' starting or stopping.

Thanks
1 REPLY 1
James R. Ferguson
Acclaimed Contributor
Solution

Re: /etc/rc.config.d/* do control variables exist for every daemon in /sbin/init.d

Tim:

The startup paradigm provides the provision for, but does not require the presence of, control variables in the /etc/rc.config.d/ directory.

This directory is sourced (read) by /etc/rc.config in /sbin/rc.

In the example you mention, if you look at /sbin/init.d/set_prvgrp you will see that it simply determines whether or not it should run /usr/sbin/setprivgrp based on the presence (existence) of the file /etc/privgroup.

See the man pages [man (1M) setprivgrp] for more information on this command.

For a complete guide to the startup paradigm see this PDF:

http://docs.hp.com/hpux/onlinedocs/os/startup.pdf

...JRF...