summaryrefslogtreecommitdiff
path: root/package/dropbear/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-26 01:01:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-26 01:01:04 +0000
commit673622720afaada4f596031c511304d90ee49a01 (patch)
tree7954dbdd472a128d89d86c52870b09ea49ef28cc /package/dropbear/files
parentf7e31a4be9ce27e7f1513b4aee53a1f3c6b1c238 (diff)
downloadmtk-20170518-673622720afaada4f596031c511304d90ee49a01.zip
mtk-20170518-673622720afaada4f596031c511304d90ee49a01.tar.gz
mtk-20170518-673622720afaada4f596031c511304d90ee49a01.tar.bz2
fix dropbear init script
SVN-Revision: 5295
Diffstat (limited to 'package/dropbear/files')
-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
}