I was wondering if there was a command that came standard with FreeBSD for editing configuration files much like sysrc(8) or sysctl(8) that work on other config files that follow the same parameter=value format. I'd like to ultimately modify other config files like /boot/loader.conf, /etc/jail.conf, etc. in the same or similar manor as /etc/sysctl.conf and /etc/rc.conf.
I was able to use sysrc(8) on /boot/loader.conf:
However, whenever I try a parameter that has a namespace, sysrc(8) doesn't care for that too much:
Thanks in advance!
I was able to use sysrc(8) on /boot/loader.conf:
Bash:
# sysrc -f /boot/loader.conf loader_delay=2
loader_delay: 2 -> 2
However, whenever I try a parameter that has a namespace, sysrc(8) doesn't care for that too much:
Bash:
# sysrc -f /boot/loader.conf kern.vty=vt
sysrc: kern.vty: name contains characters not allowed in shell
Thanks in advance!