Changeset 1ee8ad5 for master.sh


Ignore:
Timestamp:
05/05/2006 07:03:33 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
d29584b
Parents:
b240ee6
Message:

Load additional modules or configuration files only is requested.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • master.sh

    rb240ee6 r1ee8ad5  
    5757[[ $VERBOSITY > 0 ]] && echo "OK"
    5858#
    59 [[ $VERBOSITY > 0 ]] && echo -n "Loading compare module..."
    60 source $COMMON_DIR/func_compare.sh
    61 [[ $? > 0 ]] && echo "$COMMON_DIR/func_compare.sh did not load.." && exit
    62 [[ $VERBOSITY > 0 ]] && echo "OK"
    63 #
    6459[[ $VERBOSITY > 0 ]] && echo -n "Loading config module <$MODULE_CONFIG>..."
    6560source $MODULE_CONFIG
     
    445440fi
    446441echo "${nl_}${SD_BORDER}${nl_}"
     442
     443# Loadd additional modules or configuration files based on global settings
     444# compare module
     445if [[ "$COMPARE" = "1" ]]; then
     446  [[ $VERBOSITY > 0 ]] && echo -n "Loading compare module..."
     447  source $COMMON_DIR/func_compare.sh
     448  [[ $? > 0 ]] && echo "$COMMON_DIR/func_compare.sh did not load.." && exit
     449  [[ $VERBOSITY > 0 ]] && echo "OK"
     450fi
    447451
    448452# Prevents setting "-d /" by mistake.
Note: See TracChangeset for help on using the changeset viewer.