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