Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
km3mon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
km3py
km3mon
Commits
26b80895
Commit
26b80895
authored
5 years ago
by
Tamas Gal
Browse files
Options
Downloads
Patches
Plain Diff
Remove obsolete configure script
parent
7f07251a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure
+0
-105
0 additions, 105 deletions
configure
with
0 additions
and
105 deletions
configure
deleted
100755 → 0
+
0
−
105
View file @
7f07251a
#!/bin/sh
detector_id
=
29
daq_ligier_ip
=
"192.168.0.110"
daq_ligier_port
=
5553
detector_manager_ip
=
"192.168.0.120"
monitoring_ligier_ip
=
"127.0.0.1"
monitoring_ligier_port
=
5553
logio_ip
=
"127.0.0.1"
logio_port
=
28777
webserver_port
=
8080
tmux_session_name
=
"km3mon"
show_km3mon_banner
()
{
echo
' _ _ __ __ ___ __ __ _____ _ _ '
echo
'( )/ )( \/ )(__ )( \/ )( _ )( \( )'
echo
' ) ( ) ( (_ \ ) ( )(_)( ) ( '
echo
'(_)\_)(_/\/\_)(___/(_/\/\_)(_____)(_)\_)'
echo
}
for
arg
in
"
$@
"
;
do
case
"
$arg
"
in
--detector-id
=
*
)
detector_id
=
`
echo
$arg
|
sed
's/--detector-id=//'
`
;;
--daq-ligier-ip
=
*
)
daq_ligier_ip
=
`
echo
$arg
|
sed
's/--daq-ligier-ip=//'
`
;;
--daq-ligier-port
=
*
)
daq_ligier_port
=
`
echo
$arg
|
sed
's/--daq-ligier-port=//'
`
;;
--detector-manager-ip
=
*
)
detector_manager_ip
=
`
echo
$arg
|
sed
's/--detector-manager-ip=//'
`
;;
--monitoring-ligier-port
=
*
)
monitoring_ligier_port
=
`
echo
$arg
|
sed
's/--monitoring-ligier-port=//'
`
;;
--logio-ip
=
*
)
logio_ip
=
`
echo
$arg
|
sed
's/--logio-ip=//'
`
;;
--logio-port
=
*
)
logio_port
=
`
echo
$arg
|
sed
's/--logio-port=//'
`
;;
--tmux-session-name
=
*
)
tmux_session_name
=
`
echo
$arg
|
sed
's/--tmux-session-name=//'
`
;;
--webserver-port
=
*
)
webserver_port
=
`
echo
$arg
|
sed
's/--webserver-port=//'
`
;;
--help
)
show_km3mon_banner
echo
'Usage: ./configure [options]'
echo
echo
' OPTION DESCRIPTION DEFAULT'
echo
" --detector-id Detector ID
${
detector_id
}
"
echo
" --daq-ligier-ip DAQ Ligier
${
daq_ligier_ip
}
"
echo
" --daq-ligier-port Port of the DAQ Ligier
${
daq_ligier_port
}
"
echo
" --detector-manager-ip Detector Manager for RTTC
${
detector_manager_ip
}
"
echo
" --monitoring-ligier-port Port of the monitoring Ligier
${
monitoring_ligier_port
}
"
echo
" --logio-ip Log.io IP
${
logio_ip
}
"
echo
" --logio-port Port of the Log.io server
${
logio_port
}
"
echo
" --tmux-session-name TMUX session name
${
tmux_session_name
}
"
echo
" --webserver-port Port of the web server
${
webserver_port
}
"
echo
echo
'All invalid options are silently ignored.'
exit
0
;;
esac
done
echo
"DETECTOR_ID =
${
detector_id
}
"
>
Makefile
echo
"DAQ_LIGIER_IP =
${
daq_ligier_ip
}
"
>>
Makefile
echo
"DAQ_LIGIER_PORT =
${
daq_ligier_port
}
"
>>
Makefile
echo
"DETECTOR_MANAGER_IP =
${
detector_manager_ip
}
"
>>
Makefile
echo
"MONITORING_LIGIER_PORT =
${
monitoring_ligier_port
}
"
>>
Makefile
echo
"LOGIO_IP =
${
logio_ip
}
"
>>
Makefile
echo
"LOGIO_PORT =
${
logio_port
}
"
>>
Makefile
echo
"WEBSERVER_PORT =
${
webserver_port
}
"
>>
Makefile
echo
"SESSION_NAME =
${
tmux_session_name
}
"
>>
Makefile
cat
Makefile.in
>>
Makefile
show_km3mon_banner
echo
"Detector ID:
${
detector_id
}
"
echo
"DAQ Ligier:
${
daq_ligier_ip
}
:
${
daq_ligier_port
}
"
echo
"Detector Manager:
${
detector_manager_ip
}
"
echo
"Monitoring Ligier:
${
monitoring_ligier_ip
}
:
${
monitoring_ligier_port
}
"
echo
"Log.io Server:
${
logio_ip
}
:
${
logio_port
}
"
echo
"Webserver: 0.0.0.0:
${
webserver_port
}
"
echo
"TMUX session:
${
tmux_session_name
}
"
echo
echo
"Configuration complete, type
\"
make start
\"
to start the monitoring in a tmux session called
\"
${
tmux_session_name
}
\"
."
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment