oops, forgot to take out some debugging stuff
authorMike Baker <mbm@openwrt.org>
Sun, 3 Apr 2005 21:31:40 +0000 (21:31 +0000)
committerMike Baker <mbm@openwrt.org>
Sun, 3 Apr 2005 21:31:40 +0000 (21:31 +0000)
SVN-Revision: 550

openwrt/package/dropbear/files/S50dropbear

index 41c99a5451f50d50477895df8664baca7a7eb913..b165d72f22a417a97627140e4c8e48c712c5c186 100755 (executable)
@@ -2,10 +2,10 @@
 
 for type in rsa dss; do {
   # check for keys
-  key=/tmp/dropbear/dropbear_${type}_host_key
+  key=/etc/dropbear/dropbear_${type}_host_key
   [ ! -f $key ] && {
     # generate missing keys
-    mkdir -p /tmp/dropbear
+    mkdir -p /etc/dropbear
     [ -x /usr/bin/dropbearkey ] && {
       /usr/bin/dropbearkey -t $type -f $key 2>&- >&- && exec $0 $*
     } &