Skip to content

Commit e4d7dcb

Browse files
authored
Update start.sh
1 parent 1512ca9 commit e4d7dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ echo "[client]" > /root/.my.cnf;
2020
echo "password=$mysql_password" >> /root/.my.cnf;
2121
echo "user=root" >> /root/.my.cnf;
2222

23-
cp /root/.my.cnf /root/.my.cnf.back;
23+
cp /root/.my.cnf /root/.$mysql_password.pass;
2424

2525
new_ip=$(ifconfig | grep 'inet'| grep -v '127.0.0.1'| cut -d: -f2 | awk '{ print $2}' |grep -v "10." |grep -v '^\s*$');
2626
echo $new_ip > /var/cpanel/cpnat;

0 commit comments

Comments
 (0)