README 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Network Configuration:
  2. Script Files:
  3. rc.d/init.d/network
  4. sysconfig/network-devices/ifup
  5. sysconfig/network-devices/ifdown
  6. sysconfig/network-devices/services/*
  7. Configuration Files:
  8. sysconfig/network-devices/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. - SERVICE: which script to run in services directory.
  16. - ONBOOT: if set to yes, this interface will be started on
  17. bootup, and stopped on shutdown
  18. sysconfig/network
  19. - HOSTNAME: Value of the system's hostname
  20. Additional Configuration:
  21. sysconfig/network-devices/ifconfig.*
  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. rc.d/init.d/setclock
  37. Configuration Files:
  38. sysconfig/clock
  39. - UTC: 1 assumes hwclock is in UTC
  40. 0 assumes hwclock is in local time
  41. - CLOCKPARAMS: any additional options to be passed to hwclock
  42. CleanFS configuration:
  43. Script Files:
  44. rc.d/init.d/cleanfs
  45. Configuration Files:
  46. /etc/sysconfig/createfiles
  47. Each line is parsed, using space as a deliminator.
  48. [NAME] [TYPE] [PERMISSIONS] [USER] [GROUP]
  49. The below fields are currently only used on dev type.
  50. ([DEV TYPE] [MAJOR#] [MINOR#])
  51. Name:
  52. File/Directory/Device name
  53. Type:
  54. dir: creates a directory
  55. file: creates a file
  56. dev: creates a device
  57. Permissions:
  58. chmod the created file
  59. User/Group:
  60. chown the created file/dir to this user/group
  61. Dev Type:
  62. char: character [needs MAJOR#, MINOR#]
  63. block: block [needs MAJOR#, MINOR#]
  64. pipe: pipe
  65. Major#:
  66. Used by character and block devices.
  67. Minor#:
  68. Used by character and block devices.