sysrc utility
Troels Agergaard Jacobsen
tkjacobsen.list at gmail.com
Wed Apr 19 12:34:49 UTC 2017
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 at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list