From c4819964ea7cb790f21790435b915dabb867fd5f Mon Sep 17 00:00:00 2001 From: iamromulan <50184035+iamromulan@users.noreply.github.com> Date: Thu, 22 Feb 2024 22:07:20 -0500 Subject: [PATCH] Bug fixes Fixed more path issues --- RMxxx_rgmii_toolkit.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/RMxxx_rgmii_toolkit.sh b/RMxxx_rgmii_toolkit.sh index 70e70bd..0424fc4 100644 --- a/RMxxx_rgmii_toolkit.sh +++ b/RMxxx_rgmii_toolkit.sh @@ -114,11 +114,11 @@ install_update_at_socat() { mkdir $SOCAT_AT_SYSD_DIR mkdir $SOCAT_AT_SMD7_SYSD_DIR wget https://raw.githubusercontent.com/iamromulan/quectel-rgmii-toolkit/$GITTREE/socat-at-bridge/socat-armel-static - cd $AT_TELNET_SYSD_DIR + cd $SOCAT_AT_SYSD_DIR wget https://raw.githubusercontent.com/iamromulan/quectel-rgmii-toolkit/$GITTREE/socat-at-bridge/systemd_units/socat-smd11.service wget https://raw.githubusercontent.com/iamromulan/quectel-rgmii-toolkit/$GITTREE/socat-at-bridge/systemd_units/socat-smd11-from-ttyIN.service wget https://raw.githubusercontent.com/iamromulan/quectel-rgmii-toolkit/$GITTREE/socat-at-bridge/systemd_units/socat-smd11-to-ttyIN.service - cd $AT_TELNET_SMD7_SYSD_DIR + cd $SOCAT_AT_SMD7_SYSD_DIR wget https://raw.githubusercontent.com/iamromulan/quectel-rgmii-toolkit/$GITTREE/socat-at-bridge/smd7_systemd_units/socat-smd7-from-ttyIN.service wget https://raw.githubusercontent.com/iamromulan/quectel-rgmii-toolkit/$GITTREE/socat-at-bridge/smd7_systemd_units/socat-smd7-to-ttyIN.service wget https://raw.githubusercontent.com/iamromulan/quectel-rgmii-toolkit/$GITTREE/socat-at-bridge/smd7_systemd_units/socat-smd7.service @@ -156,7 +156,7 @@ install_update_at_socat() { # Depending on the choice, copy the respective systemd unit files case $device_choice in 2) - cp -f $AT_TELNET_SMD7_SYSD_DIR/*.service /lib/systemd/system + cp -f $SOCAT_AT_SMD7_SYSD_DIR/*.service /lib/systemd/system ln -sf /lib/systemd/system/socat-smd7.service /lib/systemd/system/multi-user.target.wants/ ln -sf /lib/systemd/system/socat-smd7-to-ttyIN.service /lib/systemd/system/multi-user.target.wants/ ln -sf /lib/systemd/system/socat-smd7-from-ttyIN.service /lib/systemd/system/multi-user.target.wants/ @@ -169,7 +169,7 @@ install_update_at_socat() { cd / ;; 1) - cp -f $AT_TELNET_SYSD_DIR/*.service /lib/systemd/system + cp -f $SOCAT_AT_SYSD_DIR/*.service /lib/systemd/system ln -sf /lib/systemd/system/socat-smd11.service /lib/systemd/system/multi-user.target.wants/ ln -sf /lib/systemd/system/socat-smd11-to-ttyIN.service /lib/systemd/system/multi-user.target.wants/ ln -sf /lib/systemd/system/socat-smd11-from-ttyIN.service /lib/systemd/system/multi-user.target.wants/