aboutsummaryrefslogtreecommitdiffstats
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
commita3d5bf8d54d949c99d79df81069f160ce5eeea4d (patch)
tree0c524d6f7d851aa3c107d68d8c9c9f2f65d3755a /package/dropbear/files
parentc8dd870f088814cb37481015ab8c6a6d9af360b3 (diff)
downloadupstream-a3d5bf8d54d949c99d79df81069f160ce5eeea4d.tar.gz
upstream-a3d5bf8d54d949c99d79df81069f160ce5eeea4d.tar.bz2
upstream-a3d5bf8d54d949c99d79df81069f160ce5eeea4d.zip
fix dropbear init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5295 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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
}