This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
openntpd-openbsd
mirror of
https://github.com/Fincer/openntpd-openbsd
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
61
Wiki
Activity
Browse Source
Make sure new config is valid before SIGHUP'ing sshd, which would
otherwise just kill it. ok ajacoutot@ djm@ pirofti@, quite some time ago
OPENBSD_5_3
halex
11 years ago
parent
b8be040212
commit
e03b25c53f
1 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
src/etc/rc.d/sshd
+ 5
- 1
src/etc/rc.d/sshd
View File
@ -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
Write
Preview
Loading…
Cancel
Save