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
This commit is contained in:
parent
8c7de243f4
commit
fb4f0dcae9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333804
@ -333,8 +333,8 @@ PARTITIONS=ada0
|
|||||||
DISTRIBUTIONS="kernel.txz base.txz"
|
DISTRIBUTIONS="kernel.txz base.txz"
|
||||||
|
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
echo "ifconfig_em0=DHCP" >> /etc/rc.conf
|
sysrc ifconfig_em0=DHCP
|
||||||
echo "sshd_enable=YES" >> /etc/rc.conf
|
sysrc sshd_enable=YES
|
||||||
pkg install puppet
|
pkg install puppet
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
Loading…
Reference in New Issue
Block a user