Bochs/bochs/build/linux/bochs-dlx
2001-06-02 07:40:06 +00:00

25 lines
460 B
Bash
Executable File

#!/bin/sh
BOCHS=/usr/local/bin/bochs
DLXPATH=/usr/local/bochs/dlxlinux
echo -n "Checking for bochs binary..."
if test ! -x $BOCHS; then
echo FAILED
echo ERROR: I could not find bochs in $BOCHS
exit 1
fi
echo ok
echo -n "Checking for DLX linux directory..."
if test ! -d $DLXPATH; then
echo FAILED
echo ERROR: I could not find the DLX linux directory.
exit 1
fi
echo ok
echo Entering $DLXPATH
cd $DLXPATH
echo Running bochs
# ok now try it
$BOCHS