Files
bare-operating-system/kernel/etc/bare-os/rc.d/.README
T
2026-04-03 19:01:57 -04:00

15 lines
607 B
Plaintext

# Optional boot snippets (trusted)
Only **filenames that start with a digit** are executed (e.g. `10-local`,
`20-proxy`), after `/etc/bare-os/rc`, in **lexicographic order**. This keeps
documentation files (this file is named `.README` so even older kernels skip it)
from being run as shell.
Each snippet is treated like `rc`: one shell command per non-empty, non-comment
line. Lines starting with `#` and blank lines are ignored.
Dotfiles, names ending in `~`, `README*`, `*.md`, and any name not starting with
a digit are skipped.
Only ship snippets you trust — they run with full `execLine` power.