From bc96cd60f8d2c6cf4294c038063c06dca1774206 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Fri, 26 Sep 2008 18:08:31 +0000 Subject: * cleanup git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2254 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/dropbear/XX_dropbear.sh | 2 ++ os-plugins/plugins/dropbear/files/bin/dropbear | Bin 108500 -> 0 bytes os-plugins/plugins/dropbear/files/bin/dropbearkey | Bin 50488 -> 0 bytes os-plugins/plugins/dropbear/files/dropbear.sh | 36 ---------------------- 4 files changed, 2 insertions(+), 36 deletions(-) delete mode 100755 os-plugins/plugins/dropbear/files/bin/dropbear delete mode 100755 os-plugins/plugins/dropbear/files/bin/dropbearkey delete mode 100755 os-plugins/plugins/dropbear/files/dropbear.sh (limited to 'os-plugins') 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 deleted file mode 100755 index 2133e82d..00000000 Binary files a/os-plugins/plugins/dropbear/files/bin/dropbear and /dev/null differ diff --git a/os-plugins/plugins/dropbear/files/bin/dropbearkey b/os-plugins/plugins/dropbear/files/bin/dropbearkey deleted file mode 100755 index 36ebae6c..00000000 Binary files a/os-plugins/plugins/dropbear/files/bin/dropbearkey and /dev/null differ 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 $? -} -- cgit v1.2.3-55-g7522