aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2019-11-20 23:45:31 +0000
committerWarner Losh <imp@FreeBSD.org>2019-11-20 23:45:31 +0000
commit6467506baf5c2958d7d19546cf4076d19a8586c2 (patch)
tree390cb9030923021327350dc295f1d76a8ae41911 /libexec/rc/rc.d/Makefile
parent599d032a6dfbb7950906a2e26c6b3035f39e3ac7 (diff)
downloadsrc-6467506baf5c2958d7d19546cf4076d19a8586c2.tar.gz
src-6467506baf5c2958d7d19546cf4076d19a8586c2.zip
Create /etc/os-release file.
Each boot, regenerate /var/run/os-release based on the currently running system. Create a /etc/os-release symlink pointing to this file (so that this doesn't create a new reason /etc can not be mounted read-only). This is compatible with what other systems do and is what the sysutil/os-release port attempted to do, but in an incomplete way. Linux, Solaris and DragonFly all implement this natively as well. The complete standard can be found at https://www.freedesktop.org/software/systemd/man/os-release.html Moving this to the base solves both the non-standard location problem with the port, as well as the lack of update of this file on system update. Bump __FreeBSD_version to 1300060 PR: 238953 Differential Revision: https://reviews.freebsd.org/D22271
Notes
Notes: svn path=/head/; revision=354922
Diffstat (limited to 'libexec/rc/rc.d/Makefile')
-rw-r--r--libexec/rc/rc.d/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rc/rc.d/Makefile b/libexec/rc/rc.d/Makefile
index 69f1f84fcaff..ca417fdf657b 100644
--- a/libexec/rc/rc.d/Makefile
+++ b/libexec/rc/rc.d/Makefile
@@ -77,6 +77,7 @@ CONFS= DAEMON \
nsswitch \
ntpdate \
${_opensm} \
+ os-release \
pf \
pflog \
pfsync \