From 7853e6174e656058079a56b1b324d3fdec12326c Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Sun, 25 Feb 2024 22:15:30 -0600 Subject: [PATCH] Update deploy script --- storage-net/deploy.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/storage-net/deploy.sh b/storage-net/deploy.sh index 1bacf46..28a5e85 100755 --- a/storage-net/deploy.sh +++ b/storage-net/deploy.sh @@ -13,12 +13,16 @@ masterid="0" slaveid="1" _ccroot="$mcroot/.minecraft/saves/$world/computercraft/computer" -ls -al "$_ccroot" - +echo "Root: $_ccroot" +for computer in $masterid $slaveid; do + : +done if [ -f master.lua ]; then + echo "Deploying master to $masterid" cp master.lua "$_ccroot/$masterid/autostart.lua" fi if [ -f slave.lua ]; then + echo "Deploying slave to $slaveid" cp slave.lua "$_ccroot/$slaveid/autostart.lua" fi