diff options
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 |