summaryrefslogtreecommitdiffstats
path: root/dropbear.pkg/postinst
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-10-19 09:19:55 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-10-19 09:19:55 (EDT)
commit19f183b5c9649924615d55bfdadc3656eeaab367 (patch)
tree1c5071ff9454abad622c101129010fe04f06fc54 /dropbear.pkg/postinst
parentb1a1877d834675f798141363ae72b67f81fe1105 (diff)
dropbear: Add a /usr/bin/ssh link with u-a
Diffstat (limited to 'dropbear.pkg/postinst')
-rw-r--r--dropbear.pkg/postinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/dropbear.pkg/postinst b/dropbear.pkg/postinst
index e1645cb..d6dd971 100644
--- a/dropbear.pkg/postinst
+++ b/dropbear.pkg/postinst
@@ -1,6 +1,7 @@
#!/bin/sh
if [ "x${1}" = 'xconfigure' ]; then
+ update-alternatives --install /usr/bin/ssh ssh /usr/bin/dropbearmulti 10
mkdir -p /etc/dropbear
for keytype in rsa dsa; do
if ! [ -f "/etc/dropbear/dropbear_${keytype}_host_key" ]; then