summaryrefslogtreecommitdiff
path: root/etc/rc.d/sshd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/sshd')
-rw-r--r--etc/rc.d/sshd6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/rc.d/sshd b/etc/rc.d/sshd
index 46aef9085b0..dc3d58d506a 100644
--- a/etc/rc.d/sshd
+++ b/etc/rc.d/sshd
@@ -1,9 +1,13 @@
#!/bin/sh
#
-# $OpenBSD: sshd,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $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