fix dropbear init script
authorFelix Fietkau <nbd@openwrt.org>
Thu, 26 Oct 2006 01:01:04 +0000 (01:01 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 26 Oct 2006 01:01:04 +0000 (01:01 +0000)
SVN-Revision: 5295

package/dropbear/files/dropbear.init

index a5822e4..b928af6 100755 (executable)
@@ -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
          }