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
138630ea
Commit
138630ea
authored
Sep 21, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug version of init
parent
e4a766f8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
Makefile
src/Makefile
+7
-0
init_elphel393.sh
src/init_elphel393.sh
+1
-0
No files found.
src/Makefile
View file @
138630ea
...
...
@@ -11,6 +11,7 @@ INSTMODE = 0755
SCRIPT1
=
init_elphel393.py
SCRIPT2
=
init_elphel393
SCRIPT3
=
init_elphel393.sh
all
:
@
echo
"make all in src"
...
...
@@ -24,6 +25,12 @@ install:
$(INSTALL)
$(OWN)
-m
$(INSTMODE)
$(SCRIPT1).tmp
$(CONFDIR)/$(SCRIPT1)
rm
$(SCRIPT1).tmp
sed
-e
's/192.168.0.9/$(REMOTE_IP)/'
$(SCRIPT3)
>
$(SCRIPT3).tmp
$(INSTALL)
$(OWN)
-d
$(CONFDIR)
$(INSTALL)
$(OWN)
-m
$(INSTMODE)
$(SCRIPT3).tmp
$(CONFDIR)/$(SCRIPT3)
rm
$(SCRIPT3).tmp
#INITSTRING default is defined in local.conf, weak default - meta-core/init/init.bb
sed
-e
's/init_elphel393.py/$(INITSTRING)/'
$(SCRIPT2)
>
$(SCRIPT2).tmp
$(INSTALL)
$(OWN)
-d
$(INITDIR)
...
...
src/init_elphel393.sh
View file @
138630ea
...
...
@@ -26,6 +26,7 @@ imgsrv -p 2323
killall lighttpd
;
/usr/sbin/lighttpd
-f
/etc/lighttpd.conf
/www/pages/exif.php
init
=
/etc/Exif_template.xml
exit
0
echo
"init sensor port"
wget
-O
/dev/null
"localhost/framepars.php?sensor_port=0&cmd=init"
...
...
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