mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 14:47:46 +01: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