#!/bin/sh
if [ -f `pwd`/README.html ]; then
FILE=file://`pwd`/README.html
elif [ -f README.html ]; then
FILE=file:///README.html
else
echo "No autorun.html file found"; exit 1
fi
BROWSERS="firefox mozilla konqueror nautilus netscape lynx"
for CMD in $BROWSERS ; do
if [ -f /usr/bin/$CMD ]; then
$CMD $FILE
exit 0
fi
done
echo "Could not detect one of the following: $BROWSERS"