summaryrefslogtreecommitdiff
path: root/etc/rc.d/sshd
blob: 75ea913e570ac986085a569c850a71d88e3fa5ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/ksh
#
# $OpenBSD: sshd,v 1.4 2018/01/11 19:52:12 rpe Exp $

daemon="/usr/sbin/sshd"

. /etc/rc.d/rc.subr

rc_reload() {
	${daemon} ${daemon_flags} -t && pkill -HUP -xf "${pexp}"
}

rc_cmd $1