mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
dropbear: rework init scripts
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user