Date: Fri, 18 May 2018 17:46:40 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333804 - head/usr.sbin/bsdinstall Message-ID: <201805181746.w4IHkeVS002894@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nwhitehorn Date: Fri May 18 17:46:40 2018 New Revision: 333804 URL: https://svnweb.freebsd.org/changeset/base/333804 Log: Use sysrc(8) in the documentation rather than echoing things to rc.conf in order to encourage good habits. PR: 228325 Submitted by: Mateusz Piotrowski MFC after: 2 weeks Modified: head/usr.sbin/bsdinstall/bsdinstall.8 Modified: head/usr.sbin/bsdinstall/bsdinstall.8 ============================================================================== --- head/usr.sbin/bsdinstall/bsdinstall.8 Fri May 18 17:43:15 2018 (r333803) +++ head/usr.sbin/bsdinstall/bsdinstall.8 Fri May 18 17:46:40 2018 (r333804) @@ -333,8 +333,8 @@ PARTITIONS=ada0 DISTRIBUTIONS="kernel.txz base.txz" #!/bin/sh -echo "ifconfig_em0=DHCP" >> /etc/rc.conf -echo "sshd_enable=YES" >> /etc/rc.conf +sysrc ifconfig_em0=DHCP +sysrc sshd_enable=YES pkg install puppet .Ed .Pp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805181746.w4IHkeVS002894>