update
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
VERS='4.10.5-07162023'
|
VERS='4.10.10-07162023'
|
||||||
|
|
||||||
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns '
|
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns '
|
||||||
CERT_DAEMON='/snap/bin/certbot'
|
CERT_DAEMON='/snap/bin/certbot'
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ $APTFUNC -y install wget curl git
|
|||||||
set -eu
|
set -eu
|
||||||
git clone https://git.schroedercity.com/voltron/NodeMgmt.git /opt/idssys/nodemgmt
|
git clone https://git.schroedercity.com/voltron/NodeMgmt.git /opt/idssys/nodemgmt
|
||||||
ln -s /opt/idssys/nodemgmt/run.sh /usr/local/bin/nodemgmt
|
ln -s /opt/idssys/nodemgmt/run.sh /usr/local/bin/nodemgmt
|
||||||
|
/bin/chmod +x /opt/idssys/nodemgmt/*.sh
|
||||||
|
|
||||||
if [ ! -d "/opt/idssys/defaults" ]; then
|
if [ ! -d "/opt/idssys/defaults" ]; then
|
||||||
set -eu
|
set -eu
|
||||||
|
|||||||
2
run.sh
2
run.sh
@@ -46,7 +46,7 @@ if [ "${1}" == "update" ]; then
|
|||||||
git prune >/dev/null 2>&1
|
git prune >/dev/null 2>&1
|
||||||
git pull >/dev/null 2>&1
|
git pull >/dev/null 2>&1
|
||||||
git submodule update --remote >/dev/null 2>&1
|
git submodule update --remote >/dev/null 2>&1
|
||||||
/bin/chmod +x /opt/idssys/nodemgmt/nodemgmt-scripts.sh 2>&1
|
/bin/chmod +x /opt/idssys/nodemgmt/*.sh 2>&1
|
||||||
source ${NM_FOLDER}/defaults.inc
|
source ${NM_FOLDER}/defaults.inc
|
||||||
if [ "${2}" != "q" ]; then
|
if [ "${2}" != "q" ]; then
|
||||||
echo -en "\e[1A";
|
echo -en "\e[1A";
|
||||||
|
|||||||
Reference in New Issue
Block a user