更新 simpleupdates/scripts/update_socat-at-bridge.sh

This commit is contained in:
sky 2024-12-12 22:40:29 +08:00
parent 6d00369eca
commit 94ae1f16f6

View File

@ -5,8 +5,8 @@
GITEA_HOST="code.060070.xyz"
GITUSER="sky"
REPONAME="simple-admin"
GITTREE="beta"
GITMAINTREE="beta"
GITTREE="beta-curl"
GITMAINTREE="beta-curl"
GITDEVTREE="dev"
# Construct Gitea URLs
@ -55,8 +55,8 @@ cat <<EOF > "$TMP_SCRIPT"
GITEA_HOST="code.060070.xyz"
GITUSER="sky"
REPONAME="simple-admin"
GITTREE="beta"
GITMAINTREE="beta"
GITTREE="beta-curl"
GITMAINTREE="beta-curl"
GITDEVTREE="dev"
# Construct Gitea URLs
@ -110,18 +110,18 @@ install_at_socat() {
mkdir $SOCAT_AT_DIR
cd $SOCAT_AT_DIR
mkdir $SOCAT_AT_SYSD_DIR
wget $GITROOT/socat-at-bridge/socat-armel-static
wget $GITROOT/socat-at-bridge/killsmd7bridge
wget $GITROOT/socat-at-bridge/atcmd
wget $GITROOT/socat-at-bridge/atcmd11
curl -O $GITROOT/socat-at-bridge/socat-armel-static
curl -O $GITROOT/socat-at-bridge/killsmd7bridge
curl -O $GITROOT/socat-at-bridge/atcmd
curl -O $GITROOT/socat-at-bridge/atcmd11
cd $SOCAT_AT_SYSD_DIR
wget $GITROOT/socat-at-bridge/systemd_units/socat-smd11.service
wget $GITROOT/socat-at-bridge/systemd_units/socat-smd11-from-ttyIN.service
wget $GITROOT/socat-at-bridge/systemd_units/socat-smd11-to-ttyIN.service
wget $GITROOT/socat-at-bridge/systemd_units/socat-killsmd7bridge.service
wget $GITROOT/socat-at-bridge/systemd_units/socat-smd7-from-ttyIN2.service
wget $GITROOT/socat-at-bridge/systemd_units/socat-smd7-to-ttyIN2.service
wget $GITROOT/socat-at-bridge/systemd_units/socat-smd7.service
curl -O $GITROOT/socat-at-bridge/systemd_units/socat-smd11.service
curl -O $GITROOT/socat-at-bridge/systemd_units/socat-smd11-from-ttyIN.service
curl -O $GITROOT/socat-at-bridge/systemd_units/socat-smd11-to-ttyIN.service
curl -O $GITROOT/socat-at-bridge/systemd_units/socat-killsmd7bridge.service
curl -O $GITROOT/socat-at-bridge/systemd_units/socat-smd7-from-ttyIN2.service
curl -O $GITROOT/socat-at-bridge/systemd_units/socat-smd7-to-ttyIN2.service
curl -O $GITROOT/socat-at-bridge/systemd_units/socat-smd7.service
# Set execute permissions
cd $SOCAT_AT_DIR