Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel393
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
elphel393
Commits
ecc2ae26
Commit
ecc2ae26
authored
Sep 21, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+switches
parent
5f2a011f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
10 deletions
+23
-10
setup.sh
setup.sh
+23
-10
No files found.
setup.sh
View file @
ecc2ae26
...
@@ -329,16 +329,29 @@ echo " \"" >> $BBLAYERS_CONF
...
@@ -329,16 +329,29 @@ echo " \"" >> $BBLAYERS_CONF
#echo "VIRTUAL-RUNTIME_init_manager = \"systemd\"" >> $LOCAL_CONF
#echo "VIRTUAL-RUNTIME_init_manager = \"systemd\"" >> $LOCAL_CONF
#echo "DISTRO_FEATURES_BACKFILL_CONSIDERED = \"sysvinit\"" >> $LOCAL_CONF
#echo "DISTRO_FEATURES_BACKFILL_CONSIDERED = \"sysvinit\"" >> $LOCAL_CONF
#echo "VIRTUAL-RUNTIME_initscripts = \"\"" >> $LOCAL_CONF
#echo "VIRTUAL-RUNTIME_initscripts = \"\"" >> $LOCAL_CONF
# change the MACHINE
echo
"MACHINE ?=
\"
elphel393
\"
"
>>
$LOCAL_CONF
# 1. Elphel's MIRROR website, \n is important
# Elphel's MIRROR website, \n is important
# 2. control init script switches
echo
"MIRRORS =+
\"
http://.*/.* http://mirror.elphel.com/elphel393_mirror/
\\
n
\"
"
>>
$LOCAL_CONF
cat
<<
EOT
>>
$LOCAL_CONF
MACHINE ?= "elphel393"
echo
"REMOTE_USER ?=
\"
root
\"
"
>>
$LOCAL_CONF
MIRRORS =+ "http://.*/.* http://mirror.elphel.com/elphel393_mirror/ \n "
echo
"IDENTITY_FILE ?=
\"
~/.ssh/id_rsa
\"
"
>>
$LOCAL_CONF
REMOTE_USER ?= "root"
echo
"REMOTE_IP ?=
\"
192.168.0.9
\"
"
>>
$LOCAL_CONF
IDENTITY_FILE ?= "~/.ssh/id_rsa"
# control init script progress/stage/level
REMOTE_IP ?= "192.168.0.9"
echo
"INITSTRING ?=
\"
init_elphel393.py
\"
"
>>
$LOCAL_CONF
INITSTRING ?= "init_elphel393.py \"{\\
\\\\"ip\\\\" :1,\\
\\\\"mcntrl\\\\" :1,\\
\\\\"imgsrv\\\\" :1,\\
\\\\"port1\\\\" :1,\\
\\\\"port2\\\\" :1,\\
\\\\"port3\\\\" :1,\\
\\\\"port4\\\\" :1,\\
\\\\"framepars\\\\":1,\\
\\\\"autoexp\\\\" :1,\\
\\\\"autowb\\\\" :1,\\
\\\\"sata\\\\" :1 \\
}\""
EOT
if
[
$MISSING_BBLAYERS_CONF
-eq
0
]
;
then
if
[
$MISSING_BBLAYERS_CONF
-eq
0
]
;
then
echo
"restoring
$BBLAYERS_CONF
"
echo
"restoring
$BBLAYERS_CONF
"
...
...
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