summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Muszytowski <sebastian@muszytowski.net>2016-01-22 19:26:01 +0100
committerSebastian Muszytowski <sebastian@muszytowski.net>2016-01-22 19:26:27 +0100
commit437559dcadb7d904ed690a0c832660c4d085201e (patch)
tree00bb8f76ba601089a028330c653ce71543facd56
parent8a52cb49c008144e286c482c6036e029ec094ba9 (diff)
add a bit of OS specific stuff
-rwxr-xr-xutilities/modem_transmit10
1 files changed, 9 insertions, 1 deletions
diff --git a/utilities/modem_transmit b/utilities/modem_transmit
index 011022f..b36d4a7 100755
--- a/utilities/modem_transmit
+++ b/utilities/modem_transmit
@@ -2,4 +2,12 @@
python modem.py =(echo -n "$1"$'\0') /tmp/wat.wav
-aplay /tmp/wat.wav
+case "$(uname -s)" in
+Darwin)
+ play /tmp/wat.wav
+ ;;
+*)
+ aplay /tmp/wat.wav
+ ;;
+esac
+