README 2.5 KB

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