- Timestamp:
- 03/21/2006 11:25:40 PM (19 years ago)
- Branches:
- experimental
- Children:
- d591ee5
- Parents:
- 68809ca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/func_validate_configs.sh
r68809ca r6eef5ef 117 117 118 118 119 for config_param in FSTAB CONFIG BOOK; do119 for config_param in FSTAB BOOK CONFIG; do 120 120 [[ $1 = "1" ]] && echo "`eval echo $PARAM_VALS`" 121 121 if [[ $config_param = BOOK ]]; then … … 128 128 write_error_and_die 129 129 done 130 echo " ${BOLD}${GREEN}${PARAM_GROUP%%_*T} specific parameters are valid${OFF}" 130 131 [[ "$PROGNAME" = "clfs" ]] && 132 for config_param in BOOT_CONFIG; do 133 if [[ "${METHOD}" = "boot" ]]; then 134 [[ $1 = "1" ]] && echo "`eval echo $PARAM_VALS`" 135 # There must be a config file when the build method is 'boot' 136 [[ -e "${!config_param}" ]] && [[ -s "${!config_param}" ]] && continue 137 # If you make it this far then there is a problem 138 write_error_and_die 139 fi 140 done 141 echo " ${BOLD}${GREEN}${PARAM_GROUP%%_*T} specific parameters are valid${OFF}" 131 142 done 143 132 144 set -e 133 145 echo "$tab_***${BOLD}${GREEN}Config parameters look good${OFF}***"
Note:
See TracChangeset
for help on using the changeset viewer.