summaryrefslogtreecommitdiffstats
path: root/os-plugins
diff options
context:
space:
mode:
authorSebastian Schmelzer2008-09-26 20:08:31 +0200
committerSebastian Schmelzer2008-09-26 20:08:31 +0200
commitbc96cd60f8d2c6cf4294c038063c06dca1774206 (patch)
tree38590f618d7c92ddfe2dece3ce14828fdbd3debb /os-plugins
parent * add import for stage 1 rsa keys (diff)
downloadcore-bc96cd60f8d2c6cf4294c038063c06dca1774206.tar.gz
core-bc96cd60f8d2c6cf4294c038063c06dca1774206.tar.xz
core-bc96cd60f8d2c6cf4294c038063c06dca1774206.zip
* cleanup
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2254 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins')
-rw-r--r--os-plugins/plugins/dropbear/XX_dropbear.sh2
-rwxr-xr-xos-plugins/plugins/dropbear/files/bin/dropbearbin108500 -> 0 bytes
-rwxr-xr-xos-plugins/plugins/dropbear/files/bin/dropbearkeybin50488 -> 0 bytes
-rwxr-xr-xos-plugins/plugins/dropbear/files/dropbear.sh36
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
deleted file mode 100755
index 2133e82d..00000000
--- a/os-plugins/plugins/dropbear/files/bin/dropbear
+++ /dev/null
Binary files 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
--- a/os-plugins/plugins/dropbear/files/bin/dropbearkey
+++ /dev/null
Binary files 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 $?
-}