sysrc utility
Polytropon
freebsd at edvax.de
Tue Apr 18 13:53:30 UTC 2017
On Tue, 18 Apr 2017 09:24:54 -0400, Ernie Luzar wrote:
> Can I use the sysrc utility to change a line in /etc/pkg/FreeBSD.conf
> from url: "pkg+http://pkg.Freebsd.org/${ABI}/quarterly",
> to url: "pkg+http://pkg.Freebsd.org/${ABI}/latest",
>
> If so, how would it be coded?
The sysrc tool is intended for system configuration files
in the "sh name=value" style, like /etc/rc.conf and others.
The pkg configuration file is in a very different format.
See "man sysrc" for details, FILES section.
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list