#!/bin/sh
# Mouse Wizard
# (C) 2000 M. Andreoli, for muLinux

. /etc/dialog.lib
. /etc/utils

BACK_TITLE="MuLinux v`cat /etc/version`, \
$(tell 'The Rustic Wizard at work -- SPACE to select')"

INFO_DIM="-r 3 -c 50"


# Main

while [ 1 ] ; do
dradiolist -t "$(tell Available_Wizards)"   "\
	+ Language $(tell Select your language)  \
	$CA - Mouse-Wizard $(tell Detect and configure the mouse) \
	$CA - Modem-Wizard $(tell Detect the modem) \
	$CA - CDROM-Wizard $(tell Detect your IDE CDROM) \
	$CA - Internet-Wizard $(tell Detect the modem and configure PPP)\
	$CA - Printer-Wizard $(tell Configure BSD printcap)\
	$CA - Video-Wizard $(tell XWindow and Video Setup) \
	$CA - Editor-Wizard $(tell Select Default Editor) \
	"

r=`result`

case $r in
Language)
	lang-wizard
	;;
Printer-Wizard)
	printer-wizard
	;;
Mouse-Wizard)
	mouse-wizard
	;;
Modem-Wizard)
	modem-wizard
	;;
CDROM-Wizard)
	cdrom-wizard
	;;
Internet-Wizard)
	internet-wizard
	;;
Video-Wizard)
	video-wizard
	;;
Editor*)
	editor-wizard
	;;
-no-)
	exit 0
	;;
esac
done

# End
