mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
dropbear: rework init scripts
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
0f9a154315
commit
690658cdf3
11
packages/network/dropbear/init.network/41_sshd → packages/network/dropbear/init.d/51_sshd
Executable file → Normal file
11
packages/network/dropbear/init.network/41_sshd → packages/network/dropbear/init.d/51_sshd
Executable file → Normal file
@ -1,5 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# Copyright (C) 2009-2010 OpenELEC.tv
|
||||
# http://www.openelec.tv
|
||||
@ -24,13 +22,10 @@
|
||||
#
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
. /etc/profile
|
||||
|
||||
RSA_KEY_FILE="/storage/.cache/dropbear/dropbear_rsa_host_key"
|
||||
RSAPUB_KEY_FILE="/storage/.cache/dropbear/dropbear_rsa_host_key.pub"
|
||||
DSS_KEY_FILE="/storage/.cache/dropbear/dropbear_dss_host_key"
|
||||
|
||||
(
|
||||
RSA_KEY_FILE="/storage/.cache/dropbear/dropbear_rsa_host_key"
|
||||
RSAPUB_KEY_FILE="/storage/.cache/dropbear/dropbear_rsa_host_key.pub"
|
||||
DSS_KEY_FILE="/storage/.cache/dropbear/dropbear_dss_host_key"
|
||||
|
||||
# Check for the Dropbear RSA key
|
||||
if [ ! -f $RSA_KEY_FILE ] ; then
|
Loading…
x
Reference in New Issue
Block a user