Use sysrc instead of echo to modify rc.conf

This commit is contained in:
Mateusz Piotrowski 2021-04-19 11:32:15 +02:00
parent f858b08e6e
commit e233d63695
2 changed files with 2 additions and 2 deletions

View File

@ -337,7 +337,7 @@ zfs_load="YES"
+
[source,shell]
....
# echo 'zfs_enable="YES"' >> /etc/rc.conf
# sysrc zfs_enable="YES"
....
* Add additional users to the system using the man:adduser[8] tool. Do not forget to add a user to the `wheel` group so you may obtain root access after the reboot.

View File

@ -509,7 +509,7 @@ If there is no DHCP server and access to the Internet is needed, manually config
[source,shell]
....
# echo 'defaultrouter="your_default_router"' >> /etc/rc.conf
# sysrc defaultrouter="your_default_router"
# echo 'nameserver your_DNS_server' >> /etc/resolv.conf
....