summaryrefslogtreecommitdiff
path: root/package/dropbear/files/dropbear.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/dropbear/files/dropbear.init')
-rwxr-xr-xpackage/dropbear/files/dropbear.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dropbear/files/dropbear.init b/package/dropbear/files/dropbear.init
index a5822e4..b928af6 100755
--- a/package/dropbear/files/dropbear.init
+++ b/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
}