From e53fba6a0913f82b81d3f55db58c512f409b38b6 Mon Sep 17 00:00:00 2001 From: wukongdaily <2666180@gmail.com> Date: Wed, 20 Dec 2023 17:05:44 +0800 Subject: [PATCH] Update diy.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在自启动虚拟机中,添加自动登录。 --- shell/diy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell/diy.sh b/shell/diy.sh index a08a9af..3e7a60c 100644 --- a/shell/diy.sh +++ b/shell/diy.sh @@ -467,6 +467,8 @@ do_autostart_vm() { rm $TMP_RC_LOCAL rm "$TMP_VM_LIST" + setautologin + # 显示/etc/rc.local的内容 Show 0 "已更新/etc/rc.local文件。您可以查看配置,以确认自启动虚拟机设置。" cat /etc/rc.local