diff options
Diffstat (limited to 'os-plugins')
| -rw-r--r-- | os-plugins/plugins/dropbear/XX_dropbear.sh | 2 | ||||
| -rwxr-xr-x | os-plugins/plugins/dropbear/files/bin/dropbear | bin | 108500 -> 0 bytes | |||
| -rwxr-xr-x | os-plugins/plugins/dropbear/files/bin/dropbearkey | bin | 50488 -> 0 bytes | |||
| -rwxr-xr-x | os-plugins/plugins/dropbear/files/dropbear.sh | 36 |
4 files changed, 2 insertions, 36 deletions
diff --git a/os-plugins/plugins/dropbear/XX_dropbear.sh b/os-plugins/plugins/dropbear/XX_dropbear.sh index b244cf5c..cb4321ff 100644 --- a/os-plugins/plugins/dropbear/XX_dropbear.sh +++ b/os-plugins/plugins/dropbear/XX_dropbear.sh @@ -47,6 +47,8 @@ if [ -e /initramfs/plugin-conf/dropbear.conf ]; then else dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key fi + + echo "OpenSLX Debugshell (stage3)" >> /etc/motd /sbin/dropbear diff --git a/os-plugins/plugins/dropbear/files/bin/dropbear b/os-plugins/plugins/dropbear/files/bin/dropbear Binary files differdeleted file mode 100755 index 2133e82d..00000000 --- a/os-plugins/plugins/dropbear/files/bin/dropbear +++ /dev/null diff --git a/os-plugins/plugins/dropbear/files/bin/dropbearkey b/os-plugins/plugins/dropbear/files/bin/dropbearkey Binary files differdeleted file mode 100755 index 36ebae6c..00000000 --- a/os-plugins/plugins/dropbear/files/bin/dropbearkey +++ /dev/null diff --git a/os-plugins/plugins/dropbear/files/dropbear.sh b/os-plugins/plugins/dropbear/files/dropbear.sh deleted file mode 100755 index afdee8c6..00000000 --- a/os-plugins/plugins/dropbear/files/dropbear.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbear/files/dropbear.init.d,v 1.2 2004/07/14 23:57:35 agriffis Exp $ - -depend() { - use logger dns - need net -} - -check_config() { - if [ ! -e /etc/dropbear/ ] ; then - mkdir /etc/dropbear/ - fi - if [ ! -e /etc/dropbear/dropbear_dss_host_key ] ; then - einfo "Generating DSS-Hostkey..." - /usr/bin/dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key - fi - if [ ! -e /etc/dropbear/dropbear_rsa_host_key ] ; then - einfo "Generating RSA-Hostkey..." - /usr/bin/dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key - fi -} - -start() { - check_config || return 1 - ebegin "Starting dropbear" - /usr/sbin/dropbear ${DROPBEAR_OPTS} - eend $? -} - -stop() { - ebegin "Stopping dropbear" - start-stop-daemon --stop --pidfile /var/run/dropbear.pid - eend $? -} |
