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:
ed02296
)
[packages]: don't exit the sshd init script every time a key was created
author
Peter Wagner
<tripolar@gmx.at>
Fri, 4 May 2012 00:53:27 +0000
(
00:53
+0000)
committer
Peter Wagner
<tripolar@gmx.at>
Fri, 4 May 2012 00:53:27 +0000
(
00:53
+0000)
SVN-Revision: 31580
net/openssh/files/sshd.init
patch
|
blob
|
history
diff --git
a/net/openssh/files/sshd.init
b/net/openssh/files/sshd.init
index b5dfcd07d0b6475772b0adde02488c2284b1de9d..ecc44c39e4437e4a1bce9308c344d3f3e8ddb7d9 100644
(file)
--- a/
net/openssh/files/sshd.init
+++ b/
net/openssh/files/sshd.init
@@
-13,9
+13,8
@@
start() {
[ ! -f $key ] && {
# generate missing keys
[ -x /usr/bin/ssh-keygen ] && {
- /usr/bin/ssh-keygen -N '' -t $type -f $key 2>&- >&- && exec /etc/rc.common "$initscript" start
- } &
- exit 0
+ /usr/bin/ssh-keygen -N '' -t $type -f $key 2>&- >&-
+ }
}
}; done
user_exists sshd 22 || user_add sshd 22 22 sshd /var/empty