fix dropbear init script

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5295 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau 2006-10-26 01:01:04 +00:00
parent c8dd870f08
commit a3d5bf8d54

View File

@ -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
}