diff --git a/src/ks-upa b/src/ks-upa index f698c03..5ab1c73 100755 --- a/src/ks-upa +++ b/src/ks-upa @@ -588,6 +588,11 @@ function editConfig() { raw_password_enter=${PASS} encrypt_password_enter=$(encrypt_kstools "${raw_password_enter}") echo ${encrypt_password_enter} > ${dirConfig}/ks-upload-pass + if [ "${editUpvTool}" == "rsync-pem" ] ; then + echo "rsync" > ${dirConfig}/ks-upload-tool + elif [ "${editUpvTool}" == "scp-pem" ] ; then + echo "scp" > ${dirConfig}/ks-upload-tool + fi fi elif [ "${EDIT}" == "3" ] ; then echo -n "* Enter the server URL: " ; read SERVER diff --git a/src/ks-upf b/src/ks-upf index dd1ca38..92f80b3 100755 --- a/src/ks-upf +++ b/src/ks-upf @@ -615,6 +615,11 @@ function editConfig() { raw_password_enter=${PASS} encrypt_password_enter=$(encrypt_kstools "${raw_password_enter}") echo ${encrypt_password_enter} > ${dirConfig}/ks-upload-pass + if [ "${editUpvTool}" == "rsync-pem" ] ; then + echo "rsync" > ${dirConfig}/ks-upload-tool + elif [ "${editUpvTool}" == "scp-pem" ] ; then + echo "scp" > ${dirConfig}/ks-upload-tool + fi fi elif [ "${EDIT}" == "3" ] ; then echo -n "* Enter the server URL: " ; read SERVER diff --git a/src/ks-upr b/src/ks-upr index 77463e9..2797938 100755 --- a/src/ks-upr +++ b/src/ks-upr @@ -474,6 +474,11 @@ function editConfig() { raw_password_enter=${PASS} encrypt_password_enter=$(encrypt_kstools "${raw_password_enter}") echo ${encrypt_password_enter} > ${dirConfig}/ks-upload-pass + if [ "${editUpvTool}" == "rsync-pem" ] ; then + echo "rsync" > ${dirConfig}/ks-upload-tool + elif [ "${editUpvTool}" == "scp-pem" ] ; then + echo "scp" > ${dirConfig}/ks-upload-tool + fi fi elif [ "${EDIT}" == "3" ] ; then echo -n "* Enter the server URL: " ; read SERVER diff --git a/src/ks-upv b/src/ks-upv index 7502b92..e48b133 100755 --- a/src/ks-upv +++ b/src/ks-upv @@ -588,6 +588,11 @@ function editConfig() { raw_password_enter=${PASS} encrypt_password_enter=$(encrypt_kstools "${raw_password_enter}") echo ${encrypt_password_enter} > ${dirConfig}/ks-upload-pass + if [ "${editUpvTool}" == "rsync-pem" ] ; then + echo "rsync" > ${dirConfig}/ks-upload-tool + elif [ "${editUpvTool}" == "scp-pem" ] ; then + echo "scp" > ${dirConfig}/ks-upload-tool + fi fi elif [ "${EDIT}" == "3" ] ; then echo -n "* Enter the server URL: " ; read SERVER