Ignore:
Timestamp:
04/13/2006 06:30:41 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
7a755b9
Parents:
18911500
Message:

Dirty BOOK validation hack. Nedd to be fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/func_validate_configs.sh

    r18911500 r760c2f1  
    206206      GRSECURITY_HOST)  validate_against_str "x0x x1x" ;;
    207207
     208      # BOOK validation. Very ugly, need be fixed
     209      BOOK)        if [[ "${WC}" = "1" ]] ; then
     210                     validate_dir -z -d
     211                   else
     212                     validate_against_str "x${PROGNAME}-developmentx xlfs-udev_updatex"
     213                   fi
     214                   ;;
     215
    208216      # Validate directories, testable states:
    209217      #  fatal   -z -d -w,
     
    216224      FSTAB)       validate_file -z+ -e -s ;;
    217225      CONFIG)      validate_file -z+ -e -s ;;
    218       BOOK)        [[ "${WC}" = 1 ]] && validate_file -z -e -s  ;;
    219226      BOOT_CONFIG) [[ "${METHOD}" = "boot" ]] && validate_file -z -e -s ;;
    220227
Note: See TracChangeset for help on using the changeset viewer.