Added req for rc_sync for QuecManager BETA and socat-at-bridge

This commit is contained in:
Cameron Thompson
2025-01-20 16:15:00 -05:00
parent 4010a26b40
commit f2767682c5
6 changed files with 27 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ cp /www/login.html /www/index.html
service quecmanager-services enable service quecmanager-services enable
service quecmanager-services start service quecmanager-services start
rc_sync
exit 0 exit 0

View File

@@ -1,4 +1,13 @@
#!/bin/ash #!/bin/ash
if [ -f /usr/bin/rc_sync ]; then
echo "/usr/bin/rc_sync exists. Continuing..."
else
echo "/usr/bin/rc_sync not found. Downloading..."
curl -fsSL https://raw.githubusercontent.com/iamromulan/quectel-rgmii-toolkit/SDXPINN/ipk-source/sdxpinn-mount-fix/root/usr/bin/rc_sync -o /usr/bin/rc_sync
chmod +x /usr/bin/rc_sync
fi
echo "Cleaning anything that might be left fron old versions" echo "Cleaning anything that might be left fron old versions"
echo "Stopping QuecManager Services and removing from rc.local..." echo "Stopping QuecManager Services and removing from rc.local..."
@@ -41,6 +50,7 @@ done
service quecmanager-services stop service quecmanager-services stop
service quecmanager-services disable service quecmanager-services disable
rc_sync
echo "Cleanup complete." echo "Cleanup complete."
exit 0 exit 0

View File

@@ -4,6 +4,8 @@
service quecmanager-services stop service quecmanager-services stop
service quecmanager-services disable service quecmanager-services disable
rc_sync
echo "Cleanup complete." echo "Cleanup complete."
exit 0 exit 0

View File

@@ -2,6 +2,7 @@
echo "Enabling socat-at-bridge at startup" echo "Enabling socat-at-bridge at startup"
service socat-at-bridge enable service socat-at-bridge enable
rc_sync
echo "Starting socat-at-bridge" echo "Starting socat-at-bridge"
service socat-at-bridge start service socat-at-bridge start
echo "/dev/ttySMD11 is now available" echo "/dev/ttySMD11 is now available"

View File

@@ -0,0 +1,12 @@
#!/bin/ash
if [ -f /usr/bin/rc_sync ]; then
echo "/usr/bin/rc_sync exists. Continuing..."
else
echo "/usr/bin/rc_sync not found. Downloading..."
curl -fsSL https://raw.githubusercontent.com/iamromulan/quectel-rgmii-toolkit/SDXPINN/ipk-source/sdxpinn-mount-fix/root/usr/bin/rc_sync -o /usr/bin/rc_sync
chmod +x /usr/bin/rc_sync
fi
exit 0

View File

@@ -6,6 +6,7 @@ service socat-at-bridge-smd7 disable
echo "Stopping socat-at-bridge" echo "Stopping socat-at-bridge"
service socat-at-bridge stop service socat-at-bridge stop
service socat-at-bridge-smd7 stop service socat-at-bridge-smd7 stop
rc_sync
exit 0 exit 0