mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
fix dropbear init script
SVN-Revision: 5295
This commit is contained in:
parent
f7e31a4be9
commit
673622720a
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user