This commit is contained in:
Luk Lu
2023-04-04 18:20:26 +08:00
parent ca0c7fcffc
commit 83dc20e502
10 changed files with 27 additions and 24 deletions

View File

@@ -37,7 +37,7 @@ if [ $targetUrl ]
then
read -p "Enter adot password (ROAD) >>" PWD_ADOT
read -p "Enter root password (YU) >>" PWD_ROOT
expect ~/faronear/fon/sysconfig/expect-ssh.sh $targetUrl adot $PWD_ADOT $PWD_ADOT
expect ~/faronear/npm/sysconfig/expect-ssh.sh $targetUrl adot $PWD_ADOT $PWD_ADOT
else
while [ ! "$HOST" ]
do
@@ -59,5 +59,5 @@ else
read -p "root password = " ROOT_SU
done
expect ~/faronear/fon/sysconfig/expect-ssh.sh $HOST $USER $PWD_USER $PWD_SU
expect ~/faronear/npm/sysconfig/expect-ssh.sh $HOST $USER $PWD_USER $PWD_SU
fi