summaryrefslogtreecommitdiffstats
path: root/src/os-plugins/plugins/dropbear
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-06-09 15:15:31 +0200
committerSebastian Schmelzer2011-06-09 15:15:31 +0200
commitd7c86d556fc465406b42d96cff6ba6b6ab0e3933 (patch)
tree6116c156ddad0142354f9ee27b2edda07c381455 /src/os-plugins/plugins/dropbear
parentpartial fix for bug #768 (diff)
downloadcore-d7c86d556fc465406b42d96cff6ba6b6ab0e3933.tar.gz
core-d7c86d556fc465406b42d96cff6ba6b6ab0e3933.tar.xz
core-d7c86d556fc465406b42d96cff6ba6b6ab0e3933.zip
fix dropbear plugin
Diffstat (limited to 'src/os-plugins/plugins/dropbear')
-rw-r--r--src/os-plugins/plugins/dropbear/XX_dropbear.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/os-plugins/plugins/dropbear/XX_dropbear.sh b/src/os-plugins/plugins/dropbear/XX_dropbear.sh
index b43844af..de25a6f0 100644
--- a/src/os-plugins/plugins/dropbear/XX_dropbear.sh
+++ b/src/os-plugins/plugins/dropbear/XX_dropbear.sh
@@ -39,12 +39,13 @@ if [ -e /initramfs/plugin-conf/dropbear.conf ]; then
sed -i /etc/passwd -e "s/bash/sh/"
# convert openssh rsa key to dropbear key - if available
- if [ -e /mnt/etc/ssh/ssh_host_rsa_key ]; then
- dropbearconvert openssh dropbear /mnt/etc/ssh/ssh_host_rsa_key \
- /etc/dropbear/dropbear_rsa_host_key
- else
- dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
- fi
+ #if [ -e /mnt/etc/ssh/ssh_host_rsa_key ]; then
+ # dropbearconvert openssh dropbear /mnt/etc/ssh/ssh_host_rsa_key \
+ # /etc/dropbear/dropbear_rsa_host_key
+ #else
+ dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
+ dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key
+ #fi
echo "OpenSLX Debugshell (stage3)" >> /etc/motd