Created
November 24, 2014 21:33
-
-
Save mattiasnorell/246474c460ef01654642 to your computer and use it in GitHub Desktop.
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 | |
sendto="0123456789" | |
message=$SMS_1_TEXT | |
from=$SMS_1_NUMBER | |
echo "$from\n$message" | sudo gammu sendsms TEXT "$sendto" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment