This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
tutorial:autorun_options:zh [2023/12/03 10:15] hfsr [文件系统的Autorun脚本(autorun.lua)] |
tutorial:autorun_options:zh [2023/12/03 10:16] hfsr [交互式Shell启动 (.shrc)] |
||
---|---|---|---|
Line 85: | Line 85: | ||
下列的进入点就像“钩子”,或者脚本位置。通过这些进入点你可以在电脑启动时运行你的后台或前台应用。 | 下列的进入点就像“钩子”,或者脚本位置。通过这些进入点你可以在电脑启动时运行你的后台或前台应用。 | ||
- | ====交互式Shell启动 (.shrc)==== | + | ====交互式Shell启动(.shrc)==== |
引导启动的最后一步是加载OpenOS shell。shell会阻塞等待,直到有tty输出可用。这意味着如果没有GPU或屏幕,shell启动将会进行等待。 | 引导启动的最后一步是加载OpenOS shell。shell会阻塞等待,直到有tty输出可用。这意味着如果没有GPU或屏幕,shell启动将会进行等待。 | ||
Line 93: | Line 93: | ||
我更建议编辑`/home/.shrc`而不是`/etc/profile.lua`,仅出于有序性考虑。 | 我更建议编辑`/home/.shrc`而不是`/etc/profile.lua`,仅出于有序性考虑。 | ||
- | ====Runscripts (rc)==== | + | ====Runscripts(rc)==== |
请回顾[[api:rc:zh|RC文档]]的内容。 | 请回顾[[api:rc:zh|RC文档]]的内容。 |