Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-init
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-init
Commits
4e88d416
Commit
4e88d416
authored
Mar 09, 2023
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified to use a single lighttpd.conf (/etc/lighttpd/lighttpd.conf, removed /etc/lighttpd.conf)
parent
a363332b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
init_elphel393.py
src/init_elphel393.py
+3
-2
init_elphel393.sh
src/init_elphel393.sh
+1
-1
init_eyesis12.sh
src/init_eyesis12.sh
+1
-1
init_eyesis_bottom2.sh
src/init_eyesis_bottom2.sh
+1
-1
No files found.
src/init_elphel393.py
View file @
4e88d416
...
@@ -157,7 +157,7 @@ def init_imgsrv(port):
...
@@ -157,7 +157,7 @@ def init_imgsrv(port):
'''
'''
shout
(
"imgsrv -p "
+
str
(
port
))
shout
(
"imgsrv -p "
+
str
(
port
))
#restart PHP - it can get errors while opening/mmaping at startup, then some functions fail
#restart PHP - it can get errors while opening/mmaping at startup, then some functions fail
shout
(
"killall lighttpd; /usr/sbin/lighttpd -f /etc/lighttpd.conf"
)
shout
(
"killall lighttpd; /usr/sbin/lighttpd -f /etc/lighttpd
/lighttpd
.conf"
)
shout
(
"/www/pages/exif.php init=/etc/Exif_template.xml"
)
shout
(
"/www/pages/exif.php init=/etc/Exif_template.xml"
)
def
init_autoexp_daemon
(
index
):
def
init_autoexp_daemon
(
index
):
...
@@ -243,7 +243,8 @@ def start_gps_compass():
...
@@ -243,7 +243,8 @@ def start_gps_compass():
return
return
else
:
else
:
log_msg
(
"Done waiting for the FPGA"
,
4
)
log_msg
(
"Done waiting for the FPGA"
,
4
)
shout
(
"start_gps_compass.php"
)
# shout("start_gps_compass.php")
shout
(
"start_ims.php"
)
def
disable_gpio_10389
():
def
disable_gpio_10389
():
'''
'''
...
...
src/init_elphel393.sh
View file @
4e88d416
...
@@ -31,7 +31,7 @@ $PYDIR/test_mcntrl.py @${VERILOG_DIR}/hargs-eyesis
...
@@ -31,7 +31,7 @@ $PYDIR/test_mcntrl.py @${VERILOG_DIR}/hargs-eyesis
echo
imgsrv
-p
2323
echo
imgsrv
-p
2323
imgsrv
-p
2323
imgsrv
-p
2323
#restart PHP - it can get errors while opening/mmaping at startup, then some functions fail
#restart PHP - it can get errors while opening/mmaping at startup, then some functions fail
killall lighttpd
;
/usr/sbin/lighttpd
-f
/etc/lighttpd.conf
killall lighttpd
;
/usr/sbin/lighttpd
-f
/etc/lighttpd
/lighttpd
.conf
/www/pages/exif.php
init
=
/etc/Exif_template.xml
/www/pages/exif.php
init
=
/etc/Exif_template.xml
#echo "TURN 10359 power in the next 10 seconds"
#echo "TURN 10359 power in the next 10 seconds"
#sleep 10
#sleep 10
...
...
src/init_eyesis12.sh
View file @
4e88d416
...
@@ -31,7 +31,7 @@ $PYDIR/test_mcntrl.py @${VERILOG_DIR}/hargs-eyesis
...
@@ -31,7 +31,7 @@ $PYDIR/test_mcntrl.py @${VERILOG_DIR}/hargs-eyesis
echo
imgsrv
-p
2323
echo
imgsrv
-p
2323
imgsrv
-p
2323
imgsrv
-p
2323
#restart PHP - it can get errors while opening/mmaping at startup, then some functions fail
#restart PHP - it can get errors while opening/mmaping at startup, then some functions fail
killall lighttpd
;
/usr/sbin/lighttpd
-f
/etc/lighttpd.conf
killall lighttpd
;
/usr/sbin/lighttpd
-f
/etc/lighttpd
/lighttpd
.conf
/www/pages/exif.php
init
=
/etc/Exif_template.xml
/www/pages/exif.php
init
=
/etc/Exif_template.xml
#echo "TURN 10359 power in the next 10 seconds"
#echo "TURN 10359 power in the next 10 seconds"
#sleep 10
#sleep 10
...
...
src/init_eyesis_bottom2.sh
View file @
4e88d416
...
@@ -31,7 +31,7 @@ $PYDIR/test_mcntrl.py @${VERILOG_DIR}/hargs-eyesis
...
@@ -31,7 +31,7 @@ $PYDIR/test_mcntrl.py @${VERILOG_DIR}/hargs-eyesis
echo
imgsrv
-p
2323
echo
imgsrv
-p
2323
imgsrv
-p
2323
imgsrv
-p
2323
#restart PHP - it can get errors while opening/mmaping at startup, then some functions fail
#restart PHP - it can get errors while opening/mmaping at startup, then some functions fail
killall lighttpd
;
/usr/sbin/lighttpd
-f
/etc/lighttpd.conf
killall lighttpd
;
/usr/sbin/lighttpd
-f
/etc/lighttpd
/lighttpd
.conf
/www/pages/exif.php
init
=
/etc/Exif_template.xml
/www/pages/exif.php
init
=
/etc/Exif_template.xml
#echo "TURN 10359 power in the next 10 seconds"
#echo "TURN 10359 power in the next 10 seconds"
#sleep 10
#sleep 10
...
...
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