summaryrefslogtreecommitdiff
path: root/etc/rc.d/sshd
blob: 8ea6f5793133827a082c84f208fea393b0e0fa96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# $OpenBSD: sshd,v 1.3 2015/07/15 13:50:54 ajacoutot Exp $

daemon="/usr/sbin/sshd"

. /etc/rc.d/rc.subr

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

rc_cmd $1