summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-02-28 19:54:06 +0000
committermarkm <markm@FreeBSD.org>2000-02-28 19:54:06 +0000
commitd9108a40031ebe250fc7cc8572abfdf5932c81d2 (patch)
treef2d18e72b392c8c5a4483b1482e7b41960709983 /etc/rc.d
parent16bc932f7e48332988985c32ab126d03ba1d6357 (diff)
downloadFreeBSD-src-d9108a40031ebe250fc7cc8572abfdf5932c81d2.zip
FreeBSD-src-d9108a40031ebe250fc7cc8572abfdf5932c81d2.tar.gz
Get the order of things right; the keys need to be generated
early to allow entropy to replenish. sshd must start late to catch the full effects of ldconfig.
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/netoptions4
-rw-r--r--etc/rc.d/network14
-rw-r--r--etc/rc.d/network24
-rw-r--r--etc/rc.d/network34
-rw-r--r--etc/rc.d/routing4
5 files changed, 0 insertions, 20 deletions
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions
index a4992f1..69c7d89 100644
--- a/etc/rc.d/netoptions
+++ b/etc/rc.d/netoptions
@@ -608,11 +608,7 @@ network_pass3() {
if [ ! -f /etc/ssh/ssh_host_key ]; then
echo creating ssh host key
/usr/bin/ssh-keygen -N "" -f /etc/ssh/ssh_host_key
- echo now starting sshd
- else
- echo -n ' sshd';
fi
- ${sshd_program:-/usr/sbin/sshd} ${sshd_flags}
;;
esac
diff --git a/etc/rc.d/network1 b/etc/rc.d/network1
index a4992f1..69c7d89 100644
--- a/etc/rc.d/network1
+++ b/etc/rc.d/network1
@@ -608,11 +608,7 @@ network_pass3() {
if [ ! -f /etc/ssh/ssh_host_key ]; then
echo creating ssh host key
/usr/bin/ssh-keygen -N "" -f /etc/ssh/ssh_host_key
- echo now starting sshd
- else
- echo -n ' sshd';
fi
- ${sshd_program:-/usr/sbin/sshd} ${sshd_flags}
;;
esac
diff --git a/etc/rc.d/network2 b/etc/rc.d/network2
index a4992f1..69c7d89 100644
--- a/etc/rc.d/network2
+++ b/etc/rc.d/network2
@@ -608,11 +608,7 @@ network_pass3() {
if [ ! -f /etc/ssh/ssh_host_key ]; then
echo creating ssh host key
/usr/bin/ssh-keygen -N "" -f /etc/ssh/ssh_host_key
- echo now starting sshd
- else
- echo -n ' sshd';
fi
- ${sshd_program:-/usr/sbin/sshd} ${sshd_flags}
;;
esac
diff --git a/etc/rc.d/network3 b/etc/rc.d/network3
index a4992f1..69c7d89 100644
--- a/etc/rc.d/network3
+++ b/etc/rc.d/network3
@@ -608,11 +608,7 @@ network_pass3() {
if [ ! -f /etc/ssh/ssh_host_key ]; then
echo creating ssh host key
/usr/bin/ssh-keygen -N "" -f /etc/ssh/ssh_host_key
- echo now starting sshd
- else
- echo -n ' sshd';
fi
- ${sshd_program:-/usr/sbin/sshd} ${sshd_flags}
;;
esac
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index a4992f1..69c7d89 100644
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -608,11 +608,7 @@ network_pass3() {
if [ ! -f /etc/ssh/ssh_host_key ]; then
echo creating ssh host key
/usr/bin/ssh-keygen -N "" -f /etc/ssh/ssh_host_key
- echo now starting sshd
- else
- echo -n ' sshd';
fi
- ${sshd_program:-/usr/sbin/sshd} ${sshd_flags}
;;
esac
OpenPOWER on IntegriCloud