#!	/bin/sh
# Please make sure this file can be executed by both "bash" and "ash".

ttydev=${ttydev:-/dev/tty}

if [ -x /usr/bin/tput ]; then
    readonly bold=`tput bold`
    readonly clear=`tput clear`
    readonly norm=`tput sgr0`
else
    readonly bold='[1m'
    readonly clear='[H[J'
    readonly norm='[0;10m'
fi

if [ -x /bin/star ]; then
    readonly extract="star"
else 
    readonly extract="cpio -i -d"
fi

if [ -x $Target/bin/sed ]; then
    readonly sed="$Target/bin/sed"
else 
    readonly sed="sed"
fi

if [ -x /usr/bin/tempfile ]; then
    readonly TempFile=`tempfile`
else 
    readonly TempFile="/tmp/`echo $0|$sed -e 's/^.*\///'`.$$"
fi

KernelVersion=$(uname -r)

Dir_Prefix=$Target/lib/modules/$KernelVersion
CFGFILE=$Target/etc/modules.conf
MODULESFILE=$Target/etc/modules
MODUTILSDIR=$Target/etc/modutils

CFGHEADER="### This file is automatically generated by update-modules"

