150 |
#sed -i root$ver/etc/e-smith/templates/etc/my.cnf/$ver-09socket \ |
#sed -i root$ver/etc/e-smith/templates/etc/my.cnf/$ver-09socket \ |
151 |
# -e "s_mariadb_{'mariadb${ver}\-mariadb'}_" \ |
# -e "s_mariadb_{'mariadb${ver}\-mariadb'}_" \ |
152 |
# -e "s_^socket.*_socket=${socket}_" |
# -e "s_^socket.*_socket=${socket}_" |
153 |
cp rootscl/etc/e-smith/templates/etc/my.conf/_VER_09socket root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-09socket |
cp rootscl/etc/e-smith/templates/etc/my.conf/_VER_-09socket root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-09socket |
154 |
sed -i root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-09socket \ |
sed -i root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-09socket \ |
155 |
-e "s_!!!VER!!!_${ver}_g" \ |
-e "s_!!!VER!!!_${ver}_g" \ |
156 |
-e "s_!!!PORT!!!_${port}_g" |
-e "s_!!!PORT!!!_${port}_g" |