Commit cd0e9b28 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

1. updated header 2. excluded *.sh from install

parent 4e330ce7
......@@ -16,10 +16,10 @@ INSTMODE = 0755
SCRIPT1=init_elphel393.py
SCRIPT2=init_elphel393
# init_elphel393.sh is used for Eyesis 12-sensors
SCRIPT3=init_elphel393.sh
#SCRIPT3=init_elphel393.sh
SCRIPT4=init_eyesis12.sh
SCRIPT5=init_eyesis_bottom2.sh
#SCRIPT4=init_eyesis12.sh
#SCRIPT5=init_eyesis_bottom2.sh
all:
@echo "make all in src"
......@@ -33,20 +33,20 @@ 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
#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
sed -e 's/192.168.0.9/$(REMOTE_IP)/' $(SCRIPT4) > $(SCRIPT4).tmp
$(INSTALL) $(OWN) -d $(CONFDIR)
$(INSTALL) $(OWN) -m $(INSTMODE) $(SCRIPT4).tmp $(CONFDIR)/$(SCRIPT4)
rm $(SCRIPT4).tmp
#sed -e 's/192.168.0.9/$(REMOTE_IP)/' $(SCRIPT4) > $(SCRIPT4).tmp
#$(INSTALL) $(OWN) -d $(CONFDIR)
#$(INSTALL) $(OWN) -m $(INSTMODE) $(SCRIPT4).tmp $(CONFDIR)/$(SCRIPT4)
#rm $(SCRIPT4).tmp
sed -e 's/192.168.0.9/$(REMOTE_IP)/' $(SCRIPT5) > $(SCRIPT5).tmp
$(INSTALL) $(OWN) -d $(CONFDIR)
$(INSTALL) $(OWN) -m $(INSTMODE) $(SCRIPT5).tmp $(CONFDIR)/$(SCRIPT5)
rm $(SCRIPT5).tmp
#sed -e 's/192.168.0.9/$(REMOTE_IP)/' $(SCRIPT5) > $(SCRIPT5).tmp
#$(INSTALL) $(OWN) -d $(CONFDIR)
#$(INSTALL) $(OWN) -m $(INSTMODE) $(SCRIPT5).tmp $(CONFDIR)/$(SCRIPT5)
#rm $(SCRIPT5).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
......
#!/usr/bin/env python
from __future__ import division
from __future__ import print_function
'''
# Copyright (C) 2016, Elphel.inc.
# Usage: known
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http:#www.gnu.org/licenses/>.
@author: Oleg K Dzhimiev
@copyright: 2016 Elphel, Inc.
@license: GPLv3.0+
@contact: oleg@elphel.com
@deffield updated: unknown
'''
/**
* @file init_elphel393.py
* @brief 10393 related init script
* @copyright Copyright (C) 2016 Elphel Inc.
* @author Oleg Dzhimiev <oleg@elphel.com>
* @deffield updated: unknown
*
* @par <b>License</b>:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
'''
__author__ = "Elphel"
__copyright__ = "Copyright 2016, Elphel, Inc."
__author__ = "Oleg Dzhimiev"
__copyright__ = "Copyright (C) 2016 Elphel Inc."
__license__ = "GPL"
__version__ = "3.0+"
__maintainer__ = "Oleg K Dzhimiev"
__maintainer__ = "Oleg Dzhimiev"
__email__ = "oleg@elphel.com"
__status__ = "Development"
......
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