Changeset 716db1f for bootscripts/lfs/lib/services/ipv4-static-route
- Timestamp:
- 09/20/2021 07:37:34 AM (3 years ago)
- Branches:
- multilib
- Children:
- 60870bc
- Parents:
- e680022 (diff), 7e62bbc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/lib/services/ipv4-static-route
re680022 r716db1f 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.