summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rl-system.init17
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index cc78700b..6ea1dcae 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -103,21 +103,6 @@ update_interface_config () {
fi
}
-create_ssh_host_keys () {
- if [ ! -f "/etc/ssh/ssh_host_rsa_key" ]; then
- syslog "Creating ssh v2 rsa host key."
- ssh-keygen -q -N '' -t rsa -f /etc/ssh/ssh_host_rsa_key
- fi;
- if [ ! -f "/etc/ssh/ssh_host_dsa_key" ]; then
- syslog "Creating ssh v2 dsa host key."
- ssh-keygen -q -N '' -t dsa -f /etc/ssh/ssh_host_dsa_key
- fi;
- if [ ! -f "/etc/ssh/ssh_host_ed25519_key" ]; then
- syslog "Creating ssh ed25519 host key."
- ssh-keygen -q -N '' -t ed25519 -f /etc/ssh/ssh_host_ed25519_key
- fi;
-}
-
# These are all the default security setting which are later
# overridden when configuration is read. These are the values the
# system defaults.
@@ -142,8 +127,6 @@ start () {
mount -t bpf none /sys/fs/bpf
update_interface_config
- create_ssh_host_keys || \
- log_failure_msg "can't initialize ssh host keys"
clear_or_override_config_files || \
log_failure_msg "can\'t reset config files"