Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393
Commits
389b45c2
Commit
389b45c2
authored
Jun 27, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/Elphel/x393
parents
3dda4182
341443da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
install.sh
install.sh
+1
-1
imgsrv.py
py393/imgsrv.py
+2
-2
No files found.
install.sh
View file @
389b45c2
...
@@ -10,7 +10,7 @@ fi
...
@@ -10,7 +10,7 @@ fi
install
-d
-v
$1
/usr/local/verilog/
install
-d
-v
$1
/usr/local/verilog/
install
-d
-v
$1
/usr/local/bin/
install
-d
-v
$1
/usr/local/bin/
install
-v
-m
0755
$SCRIPTPATH
/py393/
*
.py
$1
/usr/local/bin/
install
-v
-m
0755
$SCRIPTPATH
/py393/
*
.py
$1
/usr/local/bin/
install
-v
-m
0755
$SCRIPTPATH
/py393/
*
.pyc
$1
/usr/local/bin/
#
install -v -m 0755 $SCRIPTPATH/py393/*.pyc $1/usr/local/bin/
install
-d
-v
$1
/www/pages/
install
-d
-v
$1
/www/pages/
install
-v
-m
0755
$SCRIPTPATH
/py393/imgsrv.py
$1
/www/pages/
install
-v
-m
0755
$SCRIPTPATH
/py393/imgsrv.py
$1
/www/pages/
...
...
py393/imgsrv.py
View file @
389b45c2
...
@@ -39,7 +39,7 @@ import shutil
...
@@ -39,7 +39,7 @@ import shutil
import
sys
import
sys
import
subprocess
import
subprocess
path
=
"/
www/pages
/img.jpeg"
path
=
"/
tmp
/img.jpeg"
PORT
=
8888
PORT
=
8888
def
communicate
(
port
,
snd_str
):
def
communicate
(
port
,
snd_str
):
sock
=
socket
.
socket
(
socket
.
AF_INET
,
socket
.
SOCK_STREAM
)
sock
=
socket
.
socket
(
socket
.
AF_INET
,
socket
.
SOCK_STREAM
)
...
@@ -67,7 +67,7 @@ acquisition_parameters={
...
@@ -67,7 +67,7 @@ acquisition_parameters={
"black"
:
None
,
"black"
:
None
,
"colorsat_blue"
:
None
,
"colorsat_blue"
:
None
,
"colorsat_red"
:
None
,
"colorsat_red"
:
None
,
"server_root"
:
"/
www/pages
/"
,
"server_root"
:
"/
tmp
/"
,
"gain_r"
:
None
,
"gain_r"
:
None
,
"gain_gr"
:
None
,
"gain_gr"
:
None
,
"gain_gb"
:
None
,
"gain_gb"
:
None
,
...
...
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