Browse Source

fix dropbear init script

SVN-Revision: 5295
Felix Fietkau 19 years ago
parent
commit
673622720a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/dropbear/files/dropbear.init

+ 1 - 1
package/dropbear/files/dropbear.init

@@ -9,7 +9,7 @@ start() {
 	    # generate missing keys
 	    mkdir -p /etc/dropbear
 	    [ -x /usr/bin/dropbearkey ] && {
-	      /usr/bin/dropbearkey -t $type -f $key 2>&- >&- && exec $0 $*
+	      /usr/bin/dropbearkey -t $type -f $key 2>&- >&- && exec /etc/rc.common "$initscript" start
 	    } &
 	    exit 0
 	  }