mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 15:17:01 +00:00
refactor: 将默认路径从/rc更改为/leonos
统一修改代码中的默认路径,从/rc变更为/leonos,以反映系统名称变更
This commit is contained in:
@@ -4,8 +4,8 @@ local fs = rawget(_G, "fs")
|
||||
local term = rawget(_G, "term")
|
||||
local http = rawget(_G, "http")
|
||||
|
||||
_G._RC_ROM_DIR = _RC_ROM_DIR or "/rc"
|
||||
if _RC_ROM_DIR == "/rom" then _RC_ROM_DIR = "/rc" end
|
||||
_G._RC_ROM_DIR = _RC_ROM_DIR or "/leonos"
|
||||
if _RC_ROM_DIR == "/rom" then _RC_ROM_DIR = "/leonos" end
|
||||
|
||||
-- fail-safe
|
||||
local start_rc = [[
|
||||
|
||||
Reference in New Issue
Block a user