README 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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/rc.site
  40. - SKIPTMPCLEAN: skips cleaning of /tmp directory
  41. /etc/sysconfig/createfiles
  42. Each line is parsed, using space as a deliminator.
  43. [NAME] [TYPE] [PERMISSIONS] [USER] [GROUP]
  44. The below fields are currently only used on dev type.
  45. ([DEV TYPE] [MAJOR#] [MINOR#])
  46. Name:
  47. File/Directory/Device name
  48. Type:
  49. dir: creates a directory
  50. file: creates a file
  51. dev: creates a device
  52. Permissions:
  53. chmod the created file
  54. User/Group:
  55. chown the created file/dir to this user/group
  56. Dev Type:
  57. char: character [needs MAJOR#, MINOR#]
  58. block: block [needs MAJOR#, MINOR#]
  59. pipe: pipe
  60. Major#:
  61. Used by character and block devices.
  62. Minor#:
  63. Used by character and block devices.