3 # start bweb with lighttpd
7 if [ -f $PWD/html/bweb.js ]; then
10 elif [ -f $PWD/../html/bweb.js ]; then
11 BWEBBASE=$(dirname $PWD)
13 elif [ -f $BASE/html/bweb.js ]; then
17 echo "Can't determine bweb installation directory"
21 host=$(awk -F'"' '/bind/ { print $2 }' $BWEBBASE/script/httpd.conf)
22 port=$(awk '/port/ { print $3 }' $BWEBBASE/script/httpd.conf)
24 echo "Using bweb on $BWEBBASE, use firefox http://$host:$port"
26 export PERL5LIB=$BWEBBASE/lib
28 lighttpd -f $BWEBBASE/script/httpd.conf