This commit is contained in:
陆柯 2020-05-05 09:51:36 +08:00
parent 1d3ac7bcb6
commit 53bd6bbb48
2 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ touch /faronear/autostart.sh
chmod +x /faronear/autostart.sh chmod +x /faronear/autostart.sh
echo '>>> Autostart is set. You can "systemctl start/stop/status rc-local" to manage it.' 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 dpkg-reconfigure locales
echo "<<< Debian System Setup Completed >>>" echo "<<< Debian System Setup Completed >>>"

View File

@ -12,8 +12,8 @@ expect {
":~]" ":~]"
{send "su\n";exp_continue} {send "su\n";exp_continue}
"Password:" "Password:"
{send "[lindex $argv 3]\n"} # {send "[lindex $argv 3]\ncd /faronear\n"}
"密码:" # "密码:"
{send "[lindex $argv 3]\ncd /faronear\n"} {send "[lindex $argv 3]\ncd /faronear\n"}
} }
interact interact