From 53bd6bbb486408f4fb6b1f6da90975fe4199533f Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Tue, 5 May 2020 09:51:36 +0800 Subject: [PATCH] u --- config-debian.sh | 2 +- ssh-expect.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config-debian.sh b/config-debian.sh index b74065b..87e9bc0 100755 --- a/config-debian.sh +++ b/config-debian.sh @@ -79,7 +79,7 @@ touch /faronear/autostart.sh chmod +x /faronear/autostart.sh echo '>>> Autostart is set. You can "systemctl start/stop/status rc-local" to manage it.' -echo "<<< Configure locales: install all-locales, default to zh-CN.UTF-8" +echo "<<< Configure locales: install all-locales and set default to none." dpkg-reconfigure locales echo "<<< Debian System Setup Completed >>>" diff --git a/ssh-expect.sh b/ssh-expect.sh index 685192e..b81587d 100755 --- a/ssh-expect.sh +++ b/ssh-expect.sh @@ -12,8 +12,8 @@ expect { ":~]" {send "su\n";exp_continue} "Password:" - {send "[lindex $argv 3]\n"} - "密码:" +# {send "[lindex $argv 3]\ncd /faronear\n"} +# "密码:" {send "[lindex $argv 3]\ncd /faronear\n"} } interact