From 2557dd0af91f00cd849fcfee2492447176f21fab Mon Sep 17 00:00:00 2001 From: Wojbie Date: Tue, 3 Jun 2025 01:03:02 +0200 Subject: [PATCH] Update motd path in startup.lua Removes situations where shell resolution caused arbitrary program called `motd` at root get executed instead of expected /rom one. --- .../src/main/resources/data/computercraft/lua/rom/startup.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/core/src/main/resources/data/computercraft/lua/rom/startup.lua b/projects/core/src/main/resources/data/computercraft/lua/rom/startup.lua index f3b9f7a08..a14e999ef 100644 --- a/projects/core/src/main/resources/data/computercraft/lua/rom/startup.lua +++ b/projects/core/src/main/resources/data/computercraft/lua/rom/startup.lua @@ -191,7 +191,7 @@ end -- Show MOTD if settings.get("motd.enable") then - shell.run("motd") + shell.run("/rom/programs/motd") end -- Run the user created startup, either from disk drives or the root