我想知道如何在登录前运行我在启动时制作的脚本。
要在启动Ubuntu时运行脚本,请在登录前编辑/etc/rc.local并添加所需的命令。 确保脚本以exit 0结尾.LSS
/etc/rc.local