summaryrefslogtreecommitdiff
path: root/dropbear
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2004-06-03 21:32:37 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2004-06-03 21:32:37 +0000
commitc525f8fcfbcc787c75fdb5cbbc9a5dca24d9ee4f (patch)
tree5b7212d822dfcf73bc5376d09ca39197705326fa /dropbear
parent807278dfea2d3ea272f77c16f7890e8dc1117b22 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into home.hrw.one.pl:/home/szczepan/zaurus/oe/packages 2004/06/03 23:31:54+02:00 hrw.one.pl!hrw few fixes to get things running right during boot BKrev: 40bf98f5h9CB3YxfLiHYB7PCYOs3fw
Diffstat (limited to 'dropbear')
-rw-r--r--dropbear/dropbear_0.41.oe13
1 files changed, 6 insertions, 7 deletions
diff --git a/dropbear/dropbear_0.41.oe b/dropbear/dropbear_0.41.oe
index 2af7555229..fad6f34904 100644
--- a/dropbear/dropbear_0.41.oe
+++ b/dropbear/dropbear_0.41.oe
@@ -22,13 +22,12 @@ do_install_prepend () {
}
pkg_postinst_append () {
-if [ "x$D" = "x" ]; then
- if [ ! -f "${sysconfdir}/dropbear/dropbear_rsa_host_key" ]; then
- dropbearkey -t rsa -f ${sysconfdir}/dropbear/dropbear_rsa_host_key
- fi
- if [ ! -f "${sysconfdir}/dropbear/dropbear_dss_host_key" ]; then
- dropbearkey -t dss -f ${sysconfdir}/dropbear/dropbear_dss_host_key
- fi
+if [ -n "$D" ]; then exit 1; fi
+if [ ! -f "${sysconfdir}/dropbear/dropbear_rsa_host_key" ]; then
+ dropbearkey -t rsa -f ${sysconfdir}/dropbear/dropbear_rsa_host_key
+fi
+if [ ! -f "${sysconfdir}/dropbear/dropbear_dss_host_key" ]; then
+ dropbearkey -t dss -f ${sysconfdir}/dropbear/dropbear_dss_host_key
fi
}