Date: Wed, 19 Apr 2017 12:34:37 +0000 From: Troels Agergaard Jacobsen <tkjacobsen.list@gmail.com> To: Polytropon <freebsd@edvax.de>, Ernie Luzar <luzar722@gmail.com> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: sysrc utility Message-ID: <CADmuM_atfprXmYOPjKphUqbjkvFAOaHyHRz7HRv%2BOG8o6vp1xw@mail.gmail.com> In-Reply-To: <20170418155323.cba55b3a.freebsd@edvax.de> References: <58F613A6.8080007@gmail.com> <20170418155323.cba55b3a.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
You can add incremental configs in /usr/local/etc:
/usr/local/etc/pkg/repos/FreeBSD.conf:
FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
}
This will only change the url and keep the rest.
Best regards
Troels
On Tue, Apr 18, 2017 at 3:53 PM Polytropon <freebsd@edvax.de> wrote:
> 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, ...
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADmuM_atfprXmYOPjKphUqbjkvFAOaHyHRz7HRv%2BOG8o6vp1xw>
