projects
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[openssh] use the new shutdown function and kill all openssh sessions when the system...
[packages.git]
/
net
/
openssh
/
files
/
sshd.init
diff --git
a/net/openssh/files/sshd.init
b/net/openssh/files/sshd.init
index
ec76bb6
..
58b5ce7
100644
(file)
--- a/
net/openssh/files/sshd.init
+++ b/
net/openssh/files/sshd.init
@@
-23,3
+23,7
@@
start() {
stop() {
kill $(cat /var/run/sshd.pid)
}
+
+shutdown() {
+ killall sshd
+}