184 |
if [ $ver -ge 104 ] |
if [ $ver -ge 104 ] |
185 |
then |
then |
186 |
sed -i root$ver/usr/lib/systemd/system/mariadb${ver}-mariadb.service \ |
sed -i root$ver/usr/lib/systemd/system/mariadb${ver}-mariadb.service \ |
187 |
-e "s_set.password$_set.password2_" |
-e 's_set.password$_set.password2_' |
188 |
fi |
fi |
189 |
|
|
190 |
#### TODO check it is similar to rh one and functional ! |
#### TODO check it is similar to rh one and functional ! |
199 |
#phpMyAdmin template |
#phpMyAdmin template |
200 |
mkdir -p root$ver/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/ |
mkdir -p root$ver/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/ |
201 |
sed rootscl/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/11configMysql_VER_ \ |
sed rootscl/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/11configMysql_VER_ \ |
202 |
-e "s_!!!SOCKET!!!_$socket _g" \ |
-e "s_!!!SOCKET!!!_${socket}_g" \ |
203 |
-e "s_!!!VER!!!_${ver}_g" > root$ver/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/11configMysql${ver} |
-e "s_!!!VER!!!_${ver}_g" > root$ver/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/11configMysql${ver} |
204 |
|
|
205 |
done |
done |