#!/bin/sh
#
# GPL
#
# Copyright (C) 1998, Cristian Gafton <gafton@redhat.com>
#               1998, Lars Torben Wilson <torben@netmill.com>
#
# If netscape isn't available, run lynx in a xiterm
# First try standard path, then local, then other possible paths
#

for app in mozilla firefox konqueror opera netscape; do 
	full_path=`which $app`
	if [ "x$full_path" != "x" ] ; then
     		$app /usr/X11R6/share/afterstep/doc/html/index.html & exit
	fi
done

for lynx in /usr/bin/lynx /bin/lynx /usr/local/bin/lynx ; do
    if [ -x $lynx ] ; then
       exec xterm -bg black -fg white -sl 500 -vb -e $lynx /usr/X11R6/share/afterstep/html/index.html &
    fi
done
