|
@ -25,7 +25,7 @@ else |
|
|
fi |
|
|
fi |
|
|
echo "changing hostname." |
|
|
echo "changing hostname." |
|
|
sed -i "s/\"<hostname>\"/\"${servername}\"/g" "${servercfgfullpath}" |
|
|
sed -i "s/\"<hostname>\"/\"${servername}\"/g" "${servercfgfullpath}" |
|
|
sleep1 |
|
|
sleep 1 |
|
|
echo "changing rconpassword." |
|
|
echo "changing rconpassword." |
|
|
sed -i "s/\"<rconpassword>\"/\"${rconpass}\"/g" "${servercfgfullpath}" |
|
|
sed -i "s/\"<rconpassword>\"/\"${rconpass}\"/g" "${servercfgfullpath}" |
|
|
sleep 1 |
|
|
sleep 1 |
|
|