Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2017 15:53:23 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Ernie Luzar <luzar722@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: sysrc utility
Message-ID:  <20170418155323.cba55b3a.freebsd@edvax.de>
In-Reply-To: <58F613A6.8080007@gmail.com>
References:  <58F613A6.8080007@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170418155323.cba55b3a.freebsd>