mirror of https://git.FreeBSD.org/doc.git
Use sysrc instead of echo to modify rc.conf
This commit is contained in:
parent
f858b08e6e
commit
e233d63695
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
....
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue