Update krfb_httpd script

pull/1/head
Francois Andriot 11 years ago committed by Slávek Banko
parent 45971e65a6
commit efa390acf7

@ -6,17 +6,14 @@ if [ "$1" = "--kinetd" ]; then
fi fi
read request url httptype || exit 0 read request url httptype || exit 0
url="${url/ url="${url/ /}"
/}" httptype="${httptype/ /}"
httptype="${httptype/
/}"
if [ "x$httptype" != "x" ]; then if [ "x$httptype" != "x" ]; then
line="x" line="x"
while [ -n "$line" ]; do while [ -n "$line" ]; do
read line || exit 0 read line || exit 0
line="${line/ line="${line/ /}"
/}"
done done
fi fi
# echo "url = $url, request = $request" >> /tmp/httpd.log # echo "url = $url, request = $request" >> /tmp/httpd.log
@ -38,7 +35,7 @@ case "$url" in
content=" content="
<HTML><HEAD><TITLE>$LOGNAME's desktop</TITLE></HEAD> <HTML><HEAD><TITLE>$LOGNAME's desktop</TITLE></HEAD>
<BODY> <BODY>
<APPLET CODE=VncViewer.class ARCHIVE=VncViewer.jar WIDTH=$width HEIGHT=$height> <APPLET CODE=vncviewer/VNCViewer.class ARCHIVE=vncviewer.jar WIDTH=$width HEIGHT=$height>
<param name=PORT value=$port> <param name=PORT value=$port>
</APPLET> </APPLET>
</BODY></HTML>" </BODY></HTML>"

Loading…
Cancel
Save