Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
noVNC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
noVNC
Commits
0f7f146f
Commit
0f7f146f
authored
Dec 21, 2010
by
Joel Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
utils/launch.sh: find top web dir (with vnc.html).
parent
b992f7c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
launch.sh
utils/launch.sh
+12
-0
No files found.
utils/launch.sh
View file @
0f7f146f
...
...
@@ -73,6 +73,18 @@ netstat -ltn | grep -qs "${PROXY_PORT}.*LISTEN" \
trap
"cleanup"
TERM QUIT INT EXIT
# Find vnc.html
if
[
-e
"
$(
pwd
)
/vnc.html"
]
;
then
TOP
=
$(
pwd
)
elif
[
-e
"
${
HERE
}
/../vnc.html"
]
;
then
TOP
=
${
HERE
}
/../
elif
[
-e
"
${
HERE
}
/vnc.html"
]
;
then
TOP
=
${
HERE
}
else
die
"Could not find vnc.html"
fi
cd
${
TOP
}
echo
"Starting webserver on port
${
WEB_PORT
}
"
${
HERE
}
/web.py
${
WEB_PORT
}
>
/dev/null &
web_pid
=
"
$!
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment