Changeset a44ae577 for bootscripts/lfs/lib/services/ipv4-static-route
- Timestamp:
- 09/07/2021 09:01:23 PM (3 years ago)
- Branches:
- 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, arm, bdubbs/gcc13, 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:
- 408fb782
- Parents:
- e7fb2ca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/lib/services/ipv4-static-route
re7fb2ca ra44ae577 57 57 58 58 if [ -z "${PREFIX}" ]; then 59 log_failure_msg "PREFIX variable missing from ${IFCONFIG}, cannot continue." 59 log_failure_msg "PREFIX variable missing from ${IFCONFIG}, cannot continue." 60 60 exit 1 61 61 fi 62 62 63 63 args="${args} ${IP}/${PREFIX}" 64 64 desc="${desc}${IP}/${PREFIX}" … … 83 83 evaluate_retval 84 84 ;; 85 85 86 86 down) 87 87 log_info_msg "Removing '${desc}' route from the ${1} interface..." … … 89 89 evaluate_retval 90 90 ;; 91 91 92 92 *) 93 93 echo "Usage: ${0} [interface] {up|down}"
Note:
See TracChangeset
for help on using the changeset viewer.