Commit 138630ea authored by Andrey Filippov's avatar Andrey Filippov

debug version of init

parent e4a766f8
......@@ -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)
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment