diff --git a/install.sh b/install.sh index a05df80..f804f3f 100755 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ cp mysqlbackup /usr/local/bin/ chmod 755 /usr/local/bin/mysqlbackup if [ ! -f /root/.my.cnf ]; then - read -s -p "Enter the root MySQL Password: " MYSQL_PASS; + echo -n "Enter the root MySQL Password: " && stty -echo && read MYSQL_PASS && echo "" cat <> /tmp/.my.cfg [client] user=root