Changeset a44ae577 for bootscripts/lfs/init.d/modules
- 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/init.d/modules
re7fb2ca ra44ae577 38 38 egrep -qv '^($|#)' /etc/sysconfig/modules || exit 0 39 39 40 log_info_msg "Loading modules:" 40 log_info_msg "Loading modules:" 41 41 42 42 # Only try to load modules if the user has actually given us … … 55 55 # Print the module name if successful, otherwise take note. 56 56 if [ $? -eq 0 ]; then 57 log_info_msg2 " ${module}" 57 log_info_msg2 " ${module}" 58 58 else 59 59 failedmod="${failedmod} ${module}" … … 64 64 log_success_msg2 65 65 66 # Print a failure message with a list of any modules that 66 # Print a failure message with a list of any modules that 67 67 # may have failed to load. 68 68 if [ -n "${failedmod}" ]; then 69 log_failure_msg "Failed to load modules:${failedmod}" 69 log_failure_msg "Failed to load modules:${failedmod}" 70 70 exit 1 71 71 fi
Note:
See TracChangeset
for help on using the changeset viewer.