diff options
author | Rene Wagner <rw@handhelds.org> | 2004-09-01 20:56:31 +0000 |
---|---|---|
committer | Rene Wagner <rw@handhelds.org> | 2004-09-01 20:56:31 +0000 |
commit | 94b798e09415ddcbd048157de36f60daee9cc54e (patch) | |
tree | 6d0e0dec8aec22e990fe3d633705259b62ea9371 /dropbear | |
parent | ee178d1641c5dfafa1ab98ad8d14a80b6396de67 (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages
into sugarcube.dyndns.org:/home2/oe/oe/packages
2004/09/01 22:36:27+02:00 uni-frankfurt.de!mickey
fix the dropbear fix
BKrev: 4136377fQnWkV-8mdyEW1tX1S9zdeg
Diffstat (limited to 'dropbear')
-rw-r--r-- | dropbear/dropbear_0.43+0.44test3.oe | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/dropbear/dropbear_0.43+0.44test3.oe b/dropbear/dropbear_0.43+0.44test3.oe index 0fc8736f0d..b29ce2da28 100644 --- a/dropbear/dropbear_0.43+0.44test3.oe +++ b/dropbear/dropbear_0.43+0.44test3.oe @@ -49,14 +49,13 @@ do_install () { } pkg_postinst_append () { - -if [ ! -n "$D" ]; then -if [ ! -f "${sysconfdir}/dropbear/dropbear_rsa_host_key" ]; then + 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 + fi + #if [ ! -f "${sysconfdir}/dropbear/dropbear_dss_host_key" ]; then + # dropbearkey -t dss -f ${sysconfdir}/dropbear/dropbear_dss_host_key + #fi } pkg_postrm_append () { |