Revision 6f3e718d common.sh.in

b/common.sh.in
359 359
    esac
360 360
}
361 361

  
362
filesystem_check() {
362
epilogue() {
363 363
    local target=$1
364 364
    if [ -z "$target" ] ; then
365 365
        log_error "target not set for filesystem_check"
366 366
        exit 1
367 367
    fi
368 368

  
369
    get_os $target
370

  
371
    if [ "${OPERATING_SYSTEM}" = "fedora" ]; then
369
    get_os_type $target
370
    if [ "${OS_TYPE}" = "redhat" ]; then
372 371
        # we have to force a filesystem relabeling for SELinux after messing
373
        # around with the filesystem in fedora
372
        # around with the filesystem in redhat-derived OSs
374 373
        echo "Enforce an automatic relabeling in the initial boot process..."
375 374
        touch $target/.autorelabel
376 375
    fi

Also available in: Unified diff