#!/bin/sh # # $FreeBSD: ports/security/openssh/files/sshd.in,v 1.1 2006/06/09 21:54:03 pav Exp $ # # PROVIDE: sshd # REQUIRE: NETWORKING SERVERS USR # BEFORE: LOGIN # # Add the following lines to /etc/rc.conf to enable sshd # # sshd_enable (bool): Set to "NO" by default # Set it to "YES" to enable sshd . /etc/rc.subr name="sshd" rcvar=${name}_enable load_rc_config ${name} : ${sshd_enable="NO"} : ${sshd_pidfile="/var/run/sshd.pid"} command="/usr/local/sbin/${name}" run_rc_command "$1"