if [ ! -d /archives/config ]; then
  dialog --title "Repertoire /archives/config inexistant" --msgbox " 
Vous ne pouvez pas afficher les \
configurations." 9 60 
  exit
fi

cat << EOF > /tmp/affichage
EOF

VAR1=`ls /archives/config/ | wc -l | tail -c2`

if [ $VAR1 != '0' ]; then
for VAR in /archives/config/* ; do
  VAR2=`basename $VAR `
  echo "$VAR2" >> /tmp/affichage
done
fi

dialog --title "AFFICHER les CONFIGURATIONS" --textbox /tmp/affichage 22 70 
rm -f /tmp/affichage
