Update nodemgmt-scripts.sh
This commit is contained in:
@@ -420,13 +420,13 @@ NODEUPDATE(){
|
||||
fi
|
||||
if ! ${NCMD} command -v nodemgmt > /dev/null 2>&1; then
|
||||
${NCMD} "bash <(curl -sL https://go.scity.us/install-nodemgmt)" </dev/null 2>&1
|
||||
${NMCMD} rsync -az ${NM_FOLDER}/conf/*.inc --exclude ${NM_FOLDER}/conf/copycerts.sh.inc ${NM_FOLDER}/conf/*.conf root@${nip}:${NM_FOLDER}/conf/ </dev/null 2>&1
|
||||
${NMCMD} rsync -az ${NM_FOLDER}/conf/*.inc --exclude copycerts.sh.inc ${NM_FOLDER}/conf/*.conf root@${nip}:${NM_FOLDER}/conf/ </dev/null 2>&1
|
||||
${NMCMD} rsync -az ${NM_FOLDER}/conf/powerwall ${NM_FOLDER}/conf/*.conf root@${nip}:${NM_FOLDER}/conf/ </dev/null 2>&1
|
||||
sleep 2s
|
||||
source /opt/idssys/nodemgmt/conf/settings.conf
|
||||
source /opt/idssys/nodemgmt/defaults.inc
|
||||
# [ "${NM_GITPASS}" != "" ] && [ "${NM_GITUSER^^}" == "VOLTRON" ] &&
|
||||
${NMCMD} "bash <(curl -sL https://go.scity.us/add-linux-pass)" </dev/null 2>&1
|
||||
${NMCMD} "curl -sL https://go.scity.us/add-linux-pass | bash" </dev/null 2>&1
|
||||
echo -e "${idsCL[Green]}Installed & Synced${idsCL[Default]}" >> ${tmpfile}.running
|
||||
elif [ ${noup} -eq 1 ]; then
|
||||
echo -e "${idsCL[Green]}Already Installed${idsCL[Default]}" >> ${tmpfile}.running
|
||||
|
||||
Reference in New Issue
Block a user