Changeset 0c5d002 for bootscripts
- Timestamp:
- 08/05/2013 07:38:44 PM (11 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.4, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 232779f8
- Parents:
- 466dae6
- Location:
- bootscripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/ChangeLog
r466dae6 r0c5d002 1 2013-08-05 Bruce Dubbs <bdubbs@linuxfromscratch.org> 2 * Use STATIC_GATEWAY for ipv4-static-route purposes 3 1 4 2013-05-15 Bruce Dubbs <bdubbs@linuxfromscratch.org> 2 5 * Remove unneeded options and commands from mountfs and -
bootscripts/lfs/lib/services/ipv4-static-route
r466dae6 r0c5d002 44 44 esac 45 45 46 if [ -n "${GATEWAY}" ]; then 47 MSG="The GATEWAY variable cannot be set in ${IFCONFIG} for static routes.\n" 48 log_failure_msg "$MSG Use STATIC_GATEWAY only, cannot continue" 49 exit 1 50 fi 51 46 52 if [ -n "${need_ip}" ]; then 47 53 if [ -z "${IP}" ]; then … … 60 66 61 67 if [ -n "${need_gateway}" ]; then 62 if [ -z "${ GATEWAY}" ]; then63 log_failure_msg " GATEWAY variable missing from ${IFCONFIG}, cannot continue."68 if [ -z "${STATIC_GATEWAY}" ]; then 69 log_failure_msg "STATIC_GATEWAY variable missing from ${IFCONFIG}, cannot continue." 64 70 exit 1 65 71 fi 66 args="${args} via ${ GATEWAY}"72 args="${args} via ${STATIC_GATEWAY}" 67 73 fi 68 74 -
bootscripts/lfs/sbin/ifup.8
r466dae6 r0c5d002 100 100 route or on a local network, e.g., 192.168.1.1. 101 101 For secondary IP addresses on an interface, this 102 parameter should not be specified. 102 parameter should not be specified. If the service 103 is ipv4-static-route, this parameter must NOT 104 be set. 105 106 STATIC_GATEWAY - The default IP address to use for routing 107 when setting a static routing address. 103 108 104 109 INTERFACE_COMPONENTS - A list of component interfaces … … 133 138 PREFIX - The prefix for the associated IP address. 134 139 135 GATEWAY -The IP address for a network route.140 STATIC_GATEWAY - The IP address for a network route. 136 141 137 142 SOURCE - The source IP address to prefer when sending
Note:
See TracChangeset
for help on using the changeset viewer.