Last active
October 23, 2023 06:56
-
-
Save NikolasK-source/cb6ce0dc20bb775e369e3a955967a969 to your computer and use it in GitHub Desktop.
network.koesling.shm-modbus launcher scripts
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-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 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/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 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/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