fixed start script

This commit is contained in:
Andreas Grapentin 2018-02-06 21:13:42 +01:00
parent 71f12032d1
commit 571510f272
No known key found for this signature in database
GPG Key ID: 7171986E4B745536

@ -51,7 +51,7 @@ _memory="1G"
_snapshot="" _snapshot=""
[ -z "${PERSISTENT:-}" ] && _snapshot="-snapshot" [ -z "${PERSISTENT:-}" ] && _snapshot="-snapshot"
_daemonize="-nographic -serial mon:stdio" _daemonize="-nographic -serial mon:stdio"
[ -z "${FOREGROUND:-}" ] && _daemonize="-daemonize -pidfile \"$_pidfile\" -net user,hostfwd=tcp::2022-:22 -net nic -display none" [ -z "${FOREGROUND:-}" ] && _daemonize="-daemonize -pidfile $_pidfile -net user,hostfwd=tcp::2022-:22 -net nic -display none"
if [ -f "$_bootdir"/zImage ]; then if [ -f "$_bootdir"/zImage ]; then
_kernel="$_bootdir"/zImage _kernel="$_bootdir"/zImage
_dtb="$_bootdir"/dtbs/vexpress-v2p-ca9.dtb _dtb="$_bootdir"/dtbs/vexpress-v2p-ca9.dtb