diff options
| author | NVSRahul <nvsrahul@hotmail.com> | 2026-01-11 23:45:00 +0530 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2026-01-12 12:43:34 -0700 |
| commit | babc4d8f70de9dcca3262ca94a777fa3bb6116ff (patch) | |
| tree | 2c79cda31cce4f08ad8d6df5523832612e1c33bb /source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 3f2f3c52e6f192df435bdb5861018402ec1167d0 (diff) | |
rc: Improve os-release URLs and add rc.conf overrides
Add DOCUMENTATION_URL and SUPPORT_URL to the generated /var/run/os-release
file, and route the existing URLs through rc.conf-configurable variables:
- osrelease_home_url
- osrelease_documentation_url
- osrelease_support_url
- osrelease_bug_report_url
This allows downstreams and appliance vendors to customize these URLs
without patching the base script, while providing useful defaults for
stock FreeBSD installations.
Tested:
- sh -n libexec/rc/rc.d/os-release
- (No FreeBSD host available; not runtime-tested yet)
Signed-off-by: NVSRahul <nvsrahul@hotmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1961
Diffstat (limited to 'source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
