Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sls_detectors
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hardware
sls_detectors
Commits
bda4775c
Commit
bda4775c
authored
Aug 04, 2017
by
Alejandro Homs Puron
Committed by
operator for beamline
Aug 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
start_eiger_gui: add -x option to only start the receivers
parent
27a24a95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
eiger/scripts/start_eiger_gui
eiger/scripts/start_eiger_gui
+16
-3
No files found.
eiger/scripts/start_eiger_gui
View file @
bda4775c
#!/bin/bash
as_root
=
0
[
-n
"
$1
"
]
&&
[
"
$1
"
=
"-r"
]
&&
shift
&&
as_root
=
1
only_receiver
=
0
while
getopts
rx opt_arg
;
do
case
${
opt_arg
}
in
r
)
as_root
=
1
;;
x
)
only_receiver
=
1
;;
esac
done
if
[
-z
"
${
EIGER_DIR
}
"
]
;
then
if
[
"
$(
id
-un
)
"
!=
'root'
]
;
then
...
...
@@ -11,8 +18,9 @@ if [ -z "${EIGER_DIR}" ]; then
.
/etc/profile
PATH
=
$PATH
:/users/blissadm/local/bin:/users/blissadm/bin
export
PATH
old_home
=
${
HOME
}
HOME
=
$(
dirname
$1
)
.
$1
setup_file
=
"
${
!OPTIND
}
"
HOME
=
$(
dirname
${
setup_file
}
)
.
${
setup_file
}
HOME
=
${
old_home
}
fi
...
...
@@ -60,6 +68,11 @@ for m in ${EIGER_MODULES}; do
done
sleep
2
if
[
${
only_receiver
}
-ne
0
]
;
then
wait
exit
0
fi
hv_set
=
150
(
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