Commit 72098f46 authored by Chris Shantz's avatar Chris Shantz

updated all settings files to use the correct db's for alt sites.

parent a5708895
......@@ -5,7 +5,7 @@ $UWhost = 'wcms7:4444';
// Path to site root.
$UWpref = 'fdsu1';
// Name of site database.
$UWdb = 'd7_fdsu1';
$UWdb = 'd72_fdsu1';
//Username to connect to site database.
$UWuser = 'drupal';
// Password to connect to site database.
......
......@@ -104,6 +104,7 @@ mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu1/modules
cp /var/www/wcms-settings/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu1/settings.php
cd /var/www/drupal7alt/sites/wcms7alt.fdsu1
sed -i 's/wcms7/wcms7alt/g' settings.php
sed -i 's/d72_fdsu1/d72alt_fdsu1/g' settings.php
mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu2
mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu2/files
......@@ -111,9 +112,7 @@ mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu2/files/temp
mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu2/modules
## Create settings.php file
cp /var/www/wcms-settings/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu2/settings.php
cd /var/www/drupal7alt/sites/wcms7alt.fdsu2
sed -i 's/wcms7/wcms7alt/g' settings.php
cp /var/www/drupal7alt/sites/wcms7alt.fdsu1/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu2/settings.php
## Change sitename to match site
cd /var/www/drupal7alt/sites/wcms7alt.fdsu2
......@@ -125,9 +124,7 @@ mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu3/files/temp
mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu3/modules
## Create settings.php file
cp /var/www/wcms-settings/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu3/settings.php
cd /var/www/drupal7alt/sites/wcms7alt.fdsu3
sed -i 's/wcms7/wcms7alt/g' settings.php
cp /var/www/drupal7alt/sites/wcms7alt.fdsu1/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu3/settings.php
## Change sitename to match site
cd /var/www/drupal7alt/sites/wcms7alt.fdsu3
......@@ -139,9 +136,7 @@ mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu4/files/temp
mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu4/modules
## Create settings.php file
cp /var/www/wcms-settings/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu4/settings.php
cd /var/www/drupal7alt/sites/wcms7alt.fdsu4
sed -i 's/wcms7/wcms7alt/g' settings.php
cp /var/www/drupal7alt/sites/wcms7alt.fdsu1/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu4/settings.php
## Change sitename to match site
cd /var/www/drupal7alt/sites/wcms7.fdsu4
......@@ -153,9 +148,7 @@ mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu5/files/temp
mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu5/modules
## Create settings.php file
cp /var/www/wcms-settings/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu5/settings.php
cd /var/www/drupal7alt/sites/wcms7alt.fdsu5
sed -i 's/wcms7/wcms7alt/g' settings.php
cp /var/www/drupal7alt/sites/wcms7alt.fdsu1/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu5/settings.php
## Change sitename to match site
cd /var/www/drupal7alt/sites/wcms7alt.fdsu5
......
......@@ -104,6 +104,7 @@ mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu1/modules
cp /var/www/wcms-settings/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu1/settings.php
cd /var/www/drupal7alt/sites/wcms7alt.fdsu1
sed -i 's/wcms7/wcms7alt/g' settings.php
sed -i 's/d7_fdsu1/d7alt_fdsu1/g' settings.php
mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu2
mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu2/files
......@@ -111,9 +112,7 @@ mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu2/files/temp
mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu2/modules
## Create settings.php file
cp /var/www/wcms-settings/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu2/settings.php
cd /var/www/drupal7alt/sites/wcms7alt.fdsu2
sed -i 's/wcms7/wcms7alt/g' settings.php
cp /var/www/drupal7alt/sites/wcms7alt.fdsu1/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu2/settings.php
## Change sitename to match site
cd /var/www/drupal7alt/sites/wcms7alt.fdsu2
......@@ -125,9 +124,7 @@ mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu3/files/temp
mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu3/modules
## Create settings.php file
cp /var/www/wcms-settings/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu3/settings.php
cd /var/www/drupal7alt/sites/wcms7alt.fdsu3
sed -i 's/wcms7/wcms7alt/g' settings.php
cp /var/www/drupal7alt/sites/wcms7alt.fdsu1/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu3/settings.php
## Change sitename to match site
cd /var/www/drupal7alt/sites/wcms7alt.fdsu3
......@@ -139,9 +136,7 @@ mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu4/files/temp
mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu4/modules
## Create settings.php file
cp /var/www/wcms-settings/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu4/settings.php
cd /var/www/drupal7alt/sites/wcms7alt.fdsu4
sed -i 's/wcms7/wcms7alt/g' settings.php
cp /var/www/drupal7alt/sites/wcms7alt.fdsu1/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu4/settings.php
## Change sitename to match site
cd /var/www/drupal7alt/sites/wcms7.fdsu4
......@@ -153,9 +148,7 @@ mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu5/files/temp
mkdir /var/www/drupal7alt/sites/wcms7alt.fdsu5/modules
## Create settings.php file
cp /var/www/wcms-settings/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu5/settings.php
cd /var/www/drupal7alt/sites/wcms7alt.fdsu5
sed -i 's/wcms7/wcms7alt/g' settings.php
cp /var/www/drupal7alt/sites/wcms7alt.fdsu1/settings.php /var/www/drupal7alt/sites/wcms7alt.fdsu5/settings.php
## Change sitename to match site
cd /var/www/drupal7alt/sites/wcms7alt.fdsu5
......
......@@ -143,7 +143,7 @@ mkdir /var/www/drupal8alt/sites/wcms8alt.fdsu1/modules
cp /var/www/wcms-settings/settings.php /var/www/drupal8alt/sites/wcms8alt.fdsu1/settings.php
cd /var/www/drupal8alt/sites/wcms8alt.fdsu1
sed -i 's/wcms8/wcms8alt/g' settings.php
sed -i 's/d8_fdsu1/d8alt_fdsu1/g'
sed -i 's/d8_fdsu1/d8alt_fdsu1/g' settings.php
## Create site folders for drupal multi-site
mkdir /var/www/drupal8alt/sites/wcms8alt.fdsu2
......@@ -152,10 +152,7 @@ mkdir /var/www/drupal8alt/sites/wcms8alt.fdsu2/files/temp
mkdir /var/www/drupal8alt/sites/wcms8alt.fdsu2/modules
## Create settings.php file
cp /var/www/wcms-settings/settings.php /var/www/drupal8alt/sites/wcms8alt.fdsu2/settings.php
cd /var/www/drupal8alt/sites/wcms8alt.fdsu2
sed -i 's/wcms8/wcms8alt/g' settings.php
sed -i 's/d8_fdsu1/d8alt_fdsu1/g'
cp /var/www/drupal8alt/sites/wcms8alt.fdsu1/settings.php /var/www/drupal8alt/sites/wcms8alt.fdsu2/settings.php
## Change sitename to match site
cd /var/www/drupal8alt/sites/wcms8alt.fdsu2
......@@ -168,10 +165,7 @@ mkdir /var/www/drupal8alt/sites/wcms8alt.fdsu3/files/temp
mkdir /var/www/drupal8alt/sites/wcms8alt.fdsu3/modules
## Create settings.php file
cp /var/www/wcms-settings/settings.php /var/www/drupal8alt/sites/wcms8alt.fdsu3/settings.php
cd /var/www/drupal8alt/sites/wcms8alt.fdsu3
sed -i 's/wcms8/wcms8alt/g' settings.php
sed -i 's/d8_fdsu1/d8alt_fdsu1/g'
cp /var/www/drupal8alt/sites/wcms8alt.fdsu1/settings.php /var/www/drupal8alt/sites/wcms8alt.fdsu3/settings.php
## Change sitename to match site
cd /var/www/drupal8alt/sites/wcms8alt.fdsu3
......@@ -184,10 +178,7 @@ mkdir /var/www/drupal8alt/sites/wcms8alt.fdsu4/files/temp
mkdir /var/www/drupal8alt/sites/wcms8alt.fdsu4/modules
## Create settings.php file
cp /var/www/wcms-settings/settings.php /var/www/drupal8alt/sites/wcms8alt.fdsu4/settings.php
cd /var/www/drupal8alt/sites/wcms8alt.fdsu4
sed -i 's/wcms8/wcms8alt/g' settings.php
sed -i 's/d8_fdsu1/d8alt_fdsu1/g'
cp /var/www/drupal8alt/sites/wcms8alt.fdsu1/settings.php /var/www/drupal8alt/sites/wcms8alt.fdsu4/settings.php
## Change sitename to match site
cd /var/www/drupal8alt/sites/wcms8alt.fdsu4
......@@ -200,10 +191,7 @@ mkdir /var/www/drupal8alt/sites/wcms8alt.fdsu5/files/temp
mkdir /var/www/drupal8alt/sites/wcms8alt.fdsu5/modules
## Create settings.php file
cp /var/www/wcms-settings/settings.php /var/www/drupal8alt/sites/wcms8alt.fdsu5/settings.php
cd /var/www/drupal8alt/sites/wcms8alt.fdsu5
sed -i 's/wcms8/wcms8alt/g' settings.php
sed -i 's/d8_fdsu1/d8alt_fdsu1/g'
cp /var/www/drupal8alt/sites/wcms8alt.fdsu1/settings.php /var/www/drupal8alt/sites/wcms8alt.fdsu5/settings.php
## Change sitename to match site
cd /var/www/drupal8alt/sites/wcms8alt.fdsu5
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment