git: e233d63695 - main - Use sysrc instead of echo to modify rc.conf
Mateusz Piotrowski <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.doc |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/doc/commit/?id=e233d6369554edc1fba0b03c895c566889f038a6 commit e233d6369554edc1fba0b03c895c566889f038a6 Author: Mateusz Piotrowski <[email protected]> AuthorDate: 2021-04-19 09:32:15 +0000 Commit: Mateusz Piotrowski <[email protected]> CommitDate: 2021-04-19 09:32:41 +0000 Use sysrc instead of echo to modify rc.conf --- documentation/content/en/articles/remote-install/_index.adoc | 2 +- documentation/content/en/books/handbook/config/_index.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/content/en/articles/remote-install/_index.adoc b/documentation/content/en/articles/remote-install/_index.adoc index 8f72ae0cc1..bf97ed25e6 100644 --- a/documentation/content/en/articles/remote-install/_index.adoc +++ b/documentation/content/en/articles/remote-install/_index.adoc @@ -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. diff --git a/documentation/content/en/books/handbook/config/_index.adoc b/documentation/content/en/books/handbook/config/_index.adoc index 364df797f9..23640b3584 100644 --- a/documentation/content/en/books/handbook/config/_index.adoc +++ b/documentation/content/en/books/handbook/config/_index.adoc @@ -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 .... _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all To unsubscribe, send any mail to "[email protected]"