README 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Network Configuration:
  2. Script Files:
  3. /etc/rc.d/init.d/network
  4. /sbin/ifup
  5. /sbin/ifdown
  6. /lib/boot/*/*
  7. Configuration Files:
  8. /etc/sysconfig/ifconfig.*
  9. Note: ifconfig.* could be either a file or directory,
  10. but the filename extension must be the same name
  11. as the network interface you wish it to belong to.
  12. The files within the directory will be processed
  13. in alphanumerical order on boot, and reversed on
  14. shutdown.
  15. - IFACE: the interface that is being configured (e.g. eth0)
  16. - SERVICE: which script to run in services directory.
  17. - ONBOOT: if set to yes, this interface will be started on
  18. bootup, and stopped on shutdown
  19. /etc/sysconfig/network
  20. - HOSTNAME: Value of the system's hostname
  21. Additional Configuration:
  22. ipv4-static:
  23. - IP: static IP Address
  24. - GATEWAY: Specifies the IP Address of the gateway server
  25. - PREFIX: CIDR prefix of IP Address, defaults to 24 if not set
  26. - PEER: IP Address of peer (for point-to-point connections and tunnels)
  27. - BROADCAST: broadcast address
  28. ipv4-static-route:
  29. - TYPE: network (default type if not specified), default, host or
  30. unreachable
  31. - IP: IP Address of target (for network, host and unreachable)
  32. - PREFIX: CIDR prefix of target (for network, host and unreachable)
  33. - GATEWAY: IP Address of gateway to reach target (for network and default)
  34. SetClock configuration:
  35. Script Files:
  36. /etc/rc.d/init.d/setclock
  37. - SKIPTMPCLEAN: skips cleaning of /tmp directory
  38. Configuration Files:
  39. /etc/sysconfig/clock
  40. - UTC: 1 assumes hwclock is in UTC
  41. 0 assumes hwclock is in local time
  42. - CLOCKPARAMS: any additional options to be passed to hwclock
  43. CleanFS configuration:
  44. Script Files:
  45. /etc/rc.d/init.d/cleanfs
  46. Configuration Files:
  47. /etc/sysconfig/createfiles
  48. Each line is parsed, using space as a deliminator.
  49. [NAME] [TYPE] [PERMISSIONS] [USER] [GROUP]
  50. The below fields are currently only used on dev type.
  51. ([DEV TYPE] [MAJOR#] [MINOR#])
  52. Name:
  53. File/Directory/Device name
  54. Type:
  55. dir: creates a directory
  56. file: creates a file
  57. dev: creates a device
  58. Permissions:
  59. chmod the created file
  60. User/Group:
  61. chown the created file/dir to this user/group
  62. Dev Type:
  63. char: character [needs MAJOR#, MINOR#]
  64. block: block [needs MAJOR#, MINOR#]
  65. pipe: pipe
  66. Major#:
  67. Used by character and block devices.
  68. Minor#:
  69. Used by character and block devices.