Changeset 0c5d002 for bootscripts/lfs/lib/services
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.