Changeset b7804ae for bootscripts/lfs/sbin/ifup
- Timestamp:
- 02/22/2015 09:50:39 PM (9 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.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:
- 9ee0e52a
- Parents:
- eb8b1c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/sbin/ifup
reb8b1c5 rb7804ae 9 9 # Update : Bruce Dubbs - bdubbs@linuxfromscratch.org 10 10 # 11 # Version : LFS 7. 211 # Version : LFS 7.7 12 12 # 13 13 # Notes : The IFCONFIG variable is passed to the SERVICE script … … 34 34 } 35 35 36 RELEASE="7. 2"36 RELEASE="7.7" 37 37 38 38 USAGE="Usage: $0 [ -hV ] [--help] [--version] interface" … … 90 90 # is not set to yes 91 91 if [ "${IN_BOOT}" = "1" -a "${ONBOOT}" != "yes" ]; then 92 log_info_msg2 "skipped" 93 echo 92 log_skip_msg 94 93 exit 0 95 94 fi … … 104 103 fi 105 104 done 105 106 if [ "${SERVICE}" = "wpa" ]; then log_success_msg; fi 106 107 107 108 # Create/configure the interface … … 127 128 if [ -n "${GATEWAY}" ]; then 128 129 if ip route | grep -q default; then 129 log_ warning_msg "\nGateway already setup; skipping."130 log_skip_msg "\n Gateway already setup; skipping." 130 131 else 131 132 log_info_msg "Setting up default gateway..."
Note:
See TracChangeset
for help on using the changeset viewer.