From d6d7cfc6c8a204bdac271da996f61d9700f55992 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 28 Jan 2017 11:52:34 +0100 Subject: [PATCH] Added machine.secret depth --- clone/clone | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/clone/clone b/clone/clone index dcdb732..3082af9 100755 --- a/clone/clone +++ b/clone/clone @@ -311,12 +311,12 @@ step9(){ # (2) Create default configuration files # echo " (.) Create default configuration/log files"; - echo $MACHINE_STATE | sudo tee /mnt/home/sats/satsd/conf/machine.state > /dev/null; - echo $API_URL | sudo tee /mnt/home/sats/satsd/conf/api.url > /dev/null; - echo $MACHINE_BRANCH | sudo tee /mnt/home/sats/satsd/conf/machine.branch > /dev/null; - echo $MACHINE_ID | sudo tee /mnt/home/sats/satsd/conf/machine.id > /dev/null; - echo "" | sudo tee /mnt/home/sats/satsd/conf/auth.list > /dev/null; - echo $MACHINE_SECRET | sudo tee /mnt/home/sats/satsd/conf/machine.secret > /dev/null; + echo $MACHINE_STATE | sudo tee /mnt/home/sats/satsd/conf/machine.state > /dev/null; + echo $API_URL | sudo tee /mnt/home/sats/satsd/conf/api.url > /dev/null; + echo $MACHINE_BRANCH | sudo tee /mnt/home/sats/satsd/conf/machine.branch > /dev/null; + echo $MACHINE_ID | sudo tee /mnt/home/sats/satsd/conf/machine.id > /dev/null; + echo "" | sudo tee /mnt/home/sats/satsd/conf/auth.list > /dev/null; + echo "$MACHINE_SECRET:500" | sudo tee /mnt/home/sats/satsd/conf/machine.secret > /dev/null; # (3) Set up SATS botting script #