aboutsummaryrefslogtreecommitdiff
path: root/init.d.misc/sshd.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d.misc/sshd.in')
-rw-r--r--init.d.misc/sshd.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.d.misc/sshd.in b/init.d.misc/sshd.in
index ace5659b..0883af50 100644
--- a/init.d.misc/sshd.in
+++ b/init.d.misc/sshd.in
@@ -8,12 +8,14 @@ pidfile=@VARBASE@/run/sshd.pid
required_files=/etc/ssh/sshd_config
required_dirs=@VARBASE@/empty
-depend() {
+depend()
+{
use logger dns
need net
}
-start_pre() {
+start_pre()
+{
if [ ! -e /etc/ssh/ssh_host_key ]; then
ebegin "Generating Hostkey"
ssh-keygen -t rsa1 -b 1024 -f /etc/ssh/ssh_host_key -N ''
@@ -32,5 +34,3 @@ start_pre() {
${command} -t
}
-
-# vim: set ts=4 :