[Bug 282614] ${LOCALBASE}/etc/periodic.conf is ignored

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 10 Nov 2024 16:10:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282614

--- Comment #3 from Helge Oldach <freebsd@oldach.net> ---
Simple fix is to prepend "export" in /usr/sbin/periodic on this line:

_localbase=`/sbin/sysctl -n user.localbase 2> /dev/null`

However it smells like it's more adequate to follow the _localbase logic
implemented by rc(8), which is defaulting _localbase in defaults/rc.conf.

-- 
You are receiving this mail because:
You are the assignee for the bug.