aboutsummaryrefslogtreecommitdiffstats
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
parentf7e31a4be9ce27e7f1513b4aee53a1f3c6b1c238 (diff)
downloadupstream-673622720afaada4f596031c511304d90ee49a01.tar.gz
upstream-673622720afaada4f596031c511304d90ee49a01.tar.bz2
upstream-673622720afaada4f596031c511304d90ee49a01.zip
fix dropbear init script
SVN-Revision: 5295
-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 a5822e4f2b..b928af65cc 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
}