mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 16:41:06 +02:00
fix dropbear init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5295 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e3369b42a9
commit
e307e20472
@ -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…
x
Reference in New Issue
Block a user