Example SecureOS rc service script that demonstrates a simple start(msg) hook and persistent in-memory state.
- Repository:
opensecurity - System:
secureos - Type:
example
OpenSecurity/src\main\resources\assets\opensecurity\lua\SecureOS\etc\rc.d\example.lua
- Its behavior matches the bundled OpenOS example: it prints a welcome explanation, optional configured message, invocation counter, and current runlevel.