diff options
author | 2016-11-30 23:53:02 +0100 | |
---|---|---|
committer | 2016-11-30 23:53:02 +0100 | |
commit | 19828c52e5b50de79739e2c206382be74e596847 (patch) | |
tree | 1a29e87054648ae49ebd36aaf68737e8dcef0be7 /tools/scripts/run_xnbd_server | |
parent | 5e50ec8d65705b41140d06ec13611f0b3108f7b9 (diff) |
group build files into folder INSTALL
Change-Id: Ib76d53f9ff0aed21f12ebd7aac66c1e877bea4a5
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'tools/scripts/run_xnbd_server')
-rwxr-xr-x | tools/scripts/run_xnbd_server | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/scripts/run_xnbd_server b/tools/scripts/run_xnbd_server deleted file mode 100755 index 190301d..0000000 --- a/tools/scripts/run_xnbd_server +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -. /etc/xdtrc - -MACHINE=${1:-porter} -IMAGE=${2:-${XDT_BUILD}/tmp/deploy/images/${MACHINE}/agl-demo-platform-crosssdk-${MACHINE}.ext4} - -echo "Using MACHINE=$MACHINE IMAGE=$IMAGE" - -[[ ! -f $IMAGE ]] && { echo "Invalid image $IMAGE"; exit 1; } - -REALIMG=$(realpath $IMAGE) -[[ ! -f ${REALIMG}.bak ]] && cp -v ${REALIMG} ${REALIMG}.bak - -sudo systemctl restart tftpd-hpa -sudo xnbd-server --target --lport 10809 $IMAGE |