-
-
Save NikolasK-source/1da665492478ad2e12f0495e8212f641 to your computer and use it in GitHub Desktop.
network.koesling.shm-modbus launcher scripts (shorter commands)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
trap "" INT TERM QUIT | |
flatpak run network.koesling.shm-modbus dump-shm $@ | |
ret=$? | |
if [ $ret -gt 128 ]; then | |
exit 0 | |
fi | |
exit $ret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
trap "" INT TERM QUIT | |
flatpak run network.koesling.shm-modbus modbus-shm-to-stdout $@ | |
ret=$? | |
if [ $ret -gt 128 ]; then | |
exit 0 | |
fi | |
exit $ret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
trap "" INT TERM QUIT | |
flatpak run network.koesling.shm-modbus signal-gen $@ | |
ret=$? | |
if [ $ret -gt 128 ]; then | |
exit 0 | |
fi | |
exit $ret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
trap "" INT TERM QUIT | |
flatpak run network.koesling.shm-modbus modbus-tcp-client-shm $@ | |
ret=$? | |
if [ $ret -gt 128 ]; then | |
exit 0 | |
fi | |
exit $ret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
trap "" INT TERM QUIT | |
flatpak run network.koesling.shm-modbus modbus-rtu-client-shm $@ | |
ret=$? | |
if [ $ret -gt 128 ]; then | |
exit 0 | |
fi | |
exit $ret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
trap "" INT TERM QUIT | |
flatpak run network.koesling.shm-modbus shared-mem-random $@ | |
ret=$? | |
if [ $ret -gt 128 ]; then | |
exit 0 | |
fi | |
exit $ret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
trap "" INT TERM QUIT | |
flatpak run network.koesling.shm-modbus shm-stack-machine $@ | |
ret=$? | |
if [ $ret -gt 128 ]; then | |
exit 0 | |
fi | |
exit $ret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
trap "" INT TERM QUIT | |
flatpak run network.koesling.shm-modbus stdin-to-modbus-shm $@ | |
ret=$? | |
if [ $ret -gt 128 ]; then | |
exit 0 | |
fi | |
exit $ret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
trap "" INT TERM QUIT | |
flatpak run network.koesling.shm-modbus wago-modbus-coupler-shm $@ | |
ret=$? | |
if [ $ret -gt 128 ]; then | |
exit 0 | |
fi | |
exit $ret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
trap "" INT TERM QUIT | |
flatpak run network.koesling.shm-modbus write-shm $@ | |
ret=$? | |
if [ $ret -gt 128 ]; then | |
exit 0 | |
fi | |
exit $ret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment