summaryrefslogtreecommitdiff
path: root/etc/rc.d/sshd
blob: dc3d58d506aaa84f9f525068bf8b30a069b1f88b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# $OpenBSD: sshd,v 1.2 2013/02/05 00:26:31 halex Exp $

daemon="/usr/sbin/sshd"

. /etc/rc.d/rc.subr

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

rc_cmd $1