diff --git a/tool/ssinstall b/tool/ssinstall index 0b73b65..7d7e278 100755 --- a/tool/ssinstall +++ b/tool/ssinstall @@ -21,7 +21,7 @@ then echo "ssinstall需要在root下运行"; uname=`whoami` echo "Now input the password of $uname" - read upass + read -e upass ################检查密码对不对 echo "$upass" | sudo -S echo "i love amber forever" passcheck=`echo "$upass" | sudo -S echo "i love amber forever"` diff --git a/tool/update-upgrade/ss-update-controler.sh b/tool/update-upgrade/ss-update-controler.sh index e2b83e8..a8febde 100755 --- a/tool/update-upgrade/ss-update-controler.sh +++ b/tool/update-upgrade/ss-update-controler.sh @@ -30,7 +30,7 @@ echo "输入2 查看可更新软件包列表并决定是否更新" echo "输入3 $text_auto_install_open点击安装免输入密码功能" echo "输入4 退出脚本" echo -read option +read -e option case $option in 0) diff --git a/tool/ussinstall b/tool/ussinstall index bc06f87..600c97e 100755 --- a/tool/ussinstall +++ b/tool/ussinstall @@ -38,9 +38,9 @@ else until [ -f "/usr/share/ca-certificates/deepin/private/priv.crt" ] ; do echo "没有检测到证书,准备调用证书工具生成证书,请输入您的UOS账号/密码。本脚本不会上传任何信息" echo "请在此行输入您的UOS账号用户名/电话号/邮箱" - read account + read -e account echo "请在此行输入您的UOS账号密码" - read passwd + read -e passwd echo "即将安装证书,请在弹出的窗口安装" cert-tool -username="$account" -password="$passwd" done