From: Felix Fietkau Date: Thu, 26 Oct 2006 01:01:04 +0000 (+0000) Subject: fix dropbear init script X-Git-Tag: reboot~30562 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=673622720afaada4f596031c511304d90ee49a01;p=openwrt%2Fstaging%2Fchunkeey.git fix dropbear init script SVN-Revision: 5295 --- 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 }