From fb4f0dcae9107b49d9ff0ae2c517620ef91ea62d Mon Sep 17 00:00:00 2001 From: Nathan Whitehorn Date: Fri, 18 May 2018 17:46:40 +0000 Subject: [PATCH] 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 --- usr.sbin/bsdinstall/bsdinstall.8 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bsdinstall/bsdinstall.8 b/usr.sbin/bsdinstall/bsdinstall.8 index dcc972a0d4b8..714a1f23fe7e 100644 --- a/usr.sbin/bsdinstall/bsdinstall.8 +++ b/usr.sbin/bsdinstall/bsdinstall.8 @@ -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