- 论坛徽章:
- 0
|
请问,/etc下的 inetsvc与inetinit的作用是什么?
看脚本中的注释就知道了。\r\n\r\ninetinit是在第二阶段被执行的,在启动NIS之前。实际上就是/etc/rc2.d/S69inet\r\ninetsvc是在第三阶段被执行的,在启动NIS之后。因为它依赖NIS。实际上就是/etc/rc2.d/S72inetsvc\r\n\r\n关于三个阶段的说明:\r\n\r\nThe first part,\r\n# run in the \"/etc/rcS.d/S30rootusr.sh\" script, does all configuration\r\n# necessary to mount the \"/usr\" filesystem via NFS. This includes configuring\r\n# the interfaces and setting the machine\'s hostname. The second part,\r\n# run in this script, does all configuration that can be done before\r\n# NIS or NIS+ is started. This includes configuring IP routing,\r\n# setting the NIS domainname and setting any tunable parameters. The\r\n# third part, run in a subsequent startup script, does all\r\n# configuration that may be dependent on NIS/NIS+ maps. This includes\r\n# a final re-configuration of the interfaces and starting all internet\r\n# services. |
|