#!/bin/sh
# install flash_player plugin
./flashplayer-installer
# cdrom
cdrompath=$(echo $0 |sed 's/\/autorun//')
# Try to locate a suitable HTML viewer.
firefoxspec=`/usr/bin/which firefox` 2> /dev/null
mozillaspec=`/usr/bin/which mozilla` 2> /dev/null
operaspec=`/usr/bin/which opera` 2> /dev/null
konquerorspec=`/usr/bin/which konqueror` 2> /dev/null
safarispec=`/usr/bin/which safari` 2> /dev/null
# Set htmlviewer 
browser () {
if [ ! $firefoxspec = "" ]; 
 then
  htmlviewer=$firefoxspec
elif [ ! $operaspec = "" ];
 then
 htmlviewer=$operaspec
elif [ ! $konquerorspec = "" ];
 then
 htmlviewer=$konquerorspec
elif [ ! $mozillaspec = "" ];
 then
 htmlviewer=$mozillaspec
fi
}
browser
# start menu.swf
exec $htmlviewer $cdrompath/start.swf &
