Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-nquakesv
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
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
Jan Grewe
docker-nquakesv
Commits
7cebdc3b
Commit
7cebdc3b
authored
8 years ago
by
Jan Grewe
Browse files
Options
Downloads
Patches
Plain Diff
ffa
parent
ed89afba
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
start.sh
+9
-11
9 additions, 11 deletions
start.sh
with
9 additions
and
11 deletions
start.sh
+
9
−
11
View file @
7cebdc3b
...
@@ -34,16 +34,14 @@ echo "Setting Qtv password: ${QTVPW}"
...
@@ -34,16 +34,14 @@ echo "Setting Qtv password: ${QTVPW}"
echo
"Enabled FFA:
${
FFA
}
"
echo
"Enabled FFA:
${
FFA
}
"
/bin/sed
-i
"s/set k_matchless .*/set k_matchless
${
FFA
}
/"
ktx/port1.cfg
/bin/sed
-i
"s/set k_matchless .*/set k_matchless
${
FFA
}
/"
ktx/port1.cfg
if
[
${
FFA
}
==
1
]
;
then
if
[
${
FFA
}
==
1
]
;
then
/bin/sed
-i
"s/set k_use_matchless_dir .*/set k_use_matchless_dir 0/"
ktx/port1.cfg
/bin/sed
-i
"s/set k_use_matchless_dir .*/set k_use_matchless_dir 1/"
ktx/port1.cfg
/bin/sed
-i
"s/set k_defmode .*/set k_defmode ffa/"
ktx/port1.cfg
/bin/sed
-i
"s/set k_ml_.*//"
ktx/configs/usermodes/matchless/default.cfg
/bin/sed
-i
"s/set k_mode .*/set k_mode 3/"
ktx/port1.cfg
echo
'set k_ml_0 "dm1"'
>>
ktx/configs/usermodes/matchless/default.cfg
echo
"samelevel 0"
>>
ktx/port1.cfg
#echo 'set k_ml_0 "dm2"' >> ktx/configs/usermodes/matchless/default.cfg
echo
'set k_ml_0 "dm1"'
>>
ktx/port1.cfg
echo
'set k_ml_0 "dm3"'
>>
ktx/configs/usermodes/matchless/default.cfg
echo
'set k_ml_0 "dm2"'
>>
ktx/port1.cfg
echo
'set k_ml_0 "dm4"'
>>
ktx/configs/usermodes/matchless/default.cfg
echo
'set k_ml_0 "dm3"'
>>
ktx/port1.cfg
echo
'set k_ml_0 "dm5"'
>>
ktx/configs/usermodes/matchless/default.cfg
echo
'set k_ml_0 "dm4"'
>>
ktx/port1.cfg
echo
'set k_ml_0 "dm6"'
>>
ktx/configs/usermodes/matchless/default.cfg
echo
'set k_ml_0 "dm5"'
>>
ktx/port1.cfg
echo
'set k_ml_0 "dm6"'
>>
ktx/port1.cfg
fi
fi
echo
"=================================="
echo
"=================================="
...
...
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