diff --git a/config-sshd b/config-sshd index beaed9f..98a8c3b 100755 --- a/config-sshd +++ b/config-sshd @@ -1,7 +1,7 @@ #!/bin/ksh # config-sshd -# This program configures sshd to start upon boot. +# This program configures the SSH deamon so that it starts at boot. # Copyright (c) 2024, Scott C. MacCallum (scm@sdf.org). # All rights reserved. @@ -9,10 +9,10 @@ # without modification, are permitted provided that the following conditions # are met: -# * Redistributions of source code must retain the above copyright notice, +# * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. -# * Neither the name of Scott C. MacCallum nor the names of its +# * Neither the name of Scott C. MacCallum nor the names of its # contributors may be used to endorse or promote products derived from # this software without specific prior written permission of Scott C. # MacCallum. @@ -29,6 +29,6 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. -echo "sshd_flags=""" > /etc/rc.conf.local +rcctl enable sshd exit 0