|
@ -11,6 +11,7 @@ echo "=================================" |
|
|
sleep 1 |
|
|
sleep 1 |
|
|
cp -v lgsm-default.cfg ${servercfgfullpath} |
|
|
cp -v lgsm-default.cfg ${servercfgfullpath} |
|
|
sleep 1 |
|
|
sleep 1 |
|
|
|
|
|
echo "" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
fn_sourceconfig(){ |
|
|
fn_sourceconfig(){ |
|
@ -41,6 +42,7 @@ else |
|
|
fi |
|
|
fi |
|
|
sed -i "s/\"hostname\"/\"${servername}\"/g" ${servercfgfullpath} |
|
|
sed -i "s/\"hostname\"/\"${servername}\"/g" ${servercfgfullpath} |
|
|
sed -i "s/\"rconpassword\"/\"${rconpass}\"/g" ${servercfgfullpath} |
|
|
sed -i "s/\"rconpassword\"/\"${rconpass}\"/g" ${servercfgfullpath} |
|
|
|
|
|
echo "" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|