mirror of
				https://github.com/SquidDev-CC/CC-Tweaked
				synced 2025-11-03 23:22:59 +00:00 
			
		
		
		
	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.
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user