Public feed
#892295
#!/bin/bash
touch /tmp/dialogtmp && FICHTMP=/tmp/dialogtmp
trap "rm -f $FICHTMP" 0 1 2 3 5 15
function build_iso() {
foobar
while [ "${RETVAL}" != "0" ]
do
foobar
done
}
function foobar () {
DIALOG=${DIALOG=dialog}
$DIALOG --backtitle "Kickstart Generator" --clear \
--inputbox "Entrer le chemin vers le répertoire contenant les données du DVD :" 16 60 2> ${FICHTMP}
VALRET=$?
DATA_DIR=`cat ${FICHTMP}`
if [ -d ${DATA_DIR} ] ; then
cd ${DATA_DIR}
fi
}
build_iso