#!/bin/ksh # # $OpenBSD: sshd,v 1.6 2020/01/25 12:05:08 sthen Exp $ daemon="/usr/sbin/sshd" . /etc/rc.d/rc.subr pexp="sshd: ${daemon}${daemon_flags:+ ${daemon_flags}} \[listener\].*" rc_reload() { ${daemon} ${daemon_flags} -t && pkill -HUP -xf "${pexp}" } rc_cmd $1