projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a518f61
)
[openssh] use the new shutdown function and kill all openssh sessions when the system...
author
Peter Wagner
<tripolar@gmx.at>
Mon, 13 Dec 2010 18:39:14 +0000
(18:39 +0000)
committer
Peter Wagner
<tripolar@gmx.at>
Mon, 13 Dec 2010 18:39:14 +0000
(18:39 +0000)
SVN-Revision: 24549
net/openssh/files/sshd.init
patch
|
blob
|
history
diff --git
a/net/openssh/files/sshd.init
b/net/openssh/files/sshd.init
index ec76bb6ab578741d6c6ba76f5a5c51d90ba2ab2c..58b5ce72061be370e17ec4a383ee544afe8f7a52 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
+}