fix dropbear init script
SVN-Revision: 5295
This commit is contained in:
parent
f7e31a4be9
commit
673622720a
@ -9,7 +9,7 @@ start() {
|
|||||||
# generate missing keys
|
# generate missing keys
|
||||||
mkdir -p /etc/dropbear
|
mkdir -p /etc/dropbear
|
||||||
[ -x /usr/bin/dropbearkey ] && {
|
[ -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
|
exit 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user