summaryrefslogtreecommitdiffstats
path: root/src/os-plugins/plugins/dropbear/XX_dropbear.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/os-plugins/plugins/dropbear/XX_dropbear.sh')
-rw-r--r--src/os-plugins/plugins/dropbear/XX_dropbear.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/os-plugins/plugins/dropbear/XX_dropbear.sh b/src/os-plugins/plugins/dropbear/XX_dropbear.sh
index cb4321ff..b43844af 100644
--- a/src/os-plugins/plugins/dropbear/XX_dropbear.sh
+++ b/src/os-plugins/plugins/dropbear/XX_dropbear.sh
@@ -20,12 +20,10 @@ if [ -e /initramfs/plugin-conf/dropbear.conf ]; then
if [ $dropbear_active -ne 0 ]; then
[ $DEBUGLEVEL -gt 0 ] && echo "executing the 'dropbear' os-plugin ...";
+ # TODO: TESTEN !!!
# setup links to multibinary
- ln -sf /mnt/opt/openslx/plugin-repo/dropbear/dropbearmulti /sbin/dropbear
- ln -sf /mnt/opt/openslx/plugin-repo/dropbear/dropbearmulti /sbin/dropbearkey
- ln -sf /mnt/opt/openslx/plugin-repo/dropbear/dropbearmulti /sbin/dropbearconvert
- ln -sf /mnt/opt/openslx/plugin-repo/dropbear/dropbearmulti /bin/dbclient
- ln -sf /mnt/opt/openslx/plugin-repo/dropbear/dropbearmulti /bin/scp
+ tar -cp -C /mnt/opt/openslx/plugin-repo/dropbear usr lib |\
+ tar -xp -C /
# create dropbear config dir
mkdir -p /etc/dropbear