Remove need for rc_sync
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
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"
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
@@ -6,7 +6,6 @@ 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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user