summaryrefslogtreecommitdiff
path: root/localserver
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-13 19:21:35 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-13 19:21:35 +0300
commite79d9ad0618ea914ecb76f588e8281319f8c385b (patch)
tree6629cc8918549ed734a44d107f4b6820cce58039 /localserver
parentb6f2f48a4e28fec35e60e5fa16a5bff54839e7ce (diff)
downloadevol-tools-e79d9ad0618ea914ecb76f588e8281319f8c385b.tar.gz
evol-tools-e79d9ad0618ea914ecb76f588e8281319f8c385b.tar.bz2
evol-tools-e79d9ad0618ea914ecb76f588e8281319f8c385b.tar.xz
evol-tools-e79d9ad0618ea914ecb76f588e8281319f8c385b.zip
Add for local server configs version 3.
Diffstat (limited to 'localserver')
-rw-r--r--localserver/conf/constants.conf30
-rwxr-xr-xlocalserver/installconfigs.sh2
-rwxr-xr-xlocalserver/updateconfigs.sh7
3 files changed, 37 insertions, 2 deletions
diff --git a/localserver/conf/constants.conf b/localserver/conf/constants.conf
new file mode 100644
index 0000000..4562d0c
--- /dev/null
+++ b/localserver/conf/constants.conf
@@ -0,0 +1,30 @@
+//================= Hercules Configuration ================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2014-2016 Hercules Dev Team
+//=
+//= Hercules 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/>.
+//=========================================================================
+//= Battle local configuration file.
+//=========================================================================
+
+debug: 0
diff --git a/localserver/installconfigs.sh b/localserver/installconfigs.sh
index 5f8c7fa..3f403a4 100755
--- a/localserver/installconfigs.sh
+++ b/localserver/installconfigs.sh
@@ -8,4 +8,4 @@ cp conf/* $CONF
cp -f conf/inter_conf.txt $CONF
cp -f ${SD}/conf/channels.conf.base ${SD}/conf/channels.conf
mkdir versions
-echo "1" >versions/confver \ No newline at end of file
+echo "3" >versions/confver
diff --git a/localserver/updateconfigs.sh b/localserver/updateconfigs.sh
index 89571b4..699c670 100755
--- a/localserver/updateconfigs.sh
+++ b/localserver/updateconfigs.sh
@@ -17,4 +17,9 @@ if [ "${VER}" -lt "2" ]; then
rm ${CONFDIR}/conf/import/*.txt
cp conf/* ${CONFDIR}/conf/import
echo "2" >versions/confver
-fi \ No newline at end of file
+fi
+
+if [ "${VER}" -lt "3" ]; then
+ cp conf/constants.conf ${CONFDIR}/conf/import/
+ echo "3" >versions/confver
+fi