#!/bin/bash


if [ `echo ${outfile} | grep -E -c "(/nxup|/ultrapath)"` -ne 0 ] 
then 
    if [ -f /etc/up.conf ]
    then
        dracut_install /etc/up.conf
    else
        echo "UltraPath--ERROR:not found /etc/up.conf"
    fi
    if [ -f /etc/up.hostinfo ]
    then
        dracut_install /etc/up.hostinfo
    else
        echo "UltraPath--ERROR:not found /etc/up.hostinfo"
    fi
    if [ -f "${moddir}/nxup_pre_udev.sh" ]
    then
        inst_hook pre-udev 31 "${moddir}/nxup_pre_udev.sh"
    else
        echo "UltraPath--ERROR:not found ${moddir}/nxup_pre_udev.sh"
    fi
fi

