Re: Gammu-smsd error 127
Michal Čihař <[email protected]>
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <[email protected]> |
Hi Dne Wed, 3 Jun 2015 18:41:46 +0200 federico govoni <[email protected]> napsal(a): > Hi guys, > I'm using gammu-smsd on my raspberry pi and I want to execute a script when a message is received. > I added the voice: > runonreceive = /path/to/script.sh > Under [smsd] voice in smsdrc and then called "sudo gammu-smsd" from command line. > When an SMS arrive in the log file appear these lines: > Read 1 messages > Received IN20150603_182633_00_+3454528_00.text > Starting run on receive = /path/to/script.sh > Process failed with exit status 127. 127 usually means command not found. Is the script executable? -- Michal Čihař | http://cihar.com | http://blog.cihar.com ------------------------------------------------------------------------------ _______________________________________________ Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVcE5RAAoJEGo39bHX+xdNqYEQAIxT0a4NAc1u28j3tFfrBICJ hd1TJpCZElup+p4507BX9LtiFoti1G/d2aya3LnA4nUHRCIanBa9n3exqnNjuqCh K8qMTXKuRoGi1wcXsq3zf0LpnHTBQaQdl0SnINQViddToeNJcc7Jx7kKaOIG4dAk EvXXu0UMt8sCnr/Spq64VgyvK1pC+6uxIgoGvmLWk4srM0ERwGfiz7AoiaqiE5Np NXIi4FzUfn5BsEe1lWX4QVgtawqDazrb40MnB5II0t5JByRX4MBNv+G/ak6Ufxa7 t93C5PNNeWc7eaX4R7ARIjn/a81uz+wVRgr7SmdIJjEAnZVqat082q91tkH0oHtH uKihm3j4bWbWRiUTJNcd/v1HYsFlLyhQ3SSTxA26ObRJGA7hPve1I0cjVOg9Yv3r 2rQhdE1yH6UFupXi/gf7HNtuKXL/xlXKUh+reu8UPOh3P8c6loqLdeiixti387Oi 0mJ6isNxV1rwkVKd64Z5p/l7EvMh0KitcXVzwmrmXZdMISDeSyCud664mikT0iHJ M13lI86JcxaA3jGiNHPKU+7VWJhSKACq0FVBKghn2zF+BoAjlp48YX/hDmYoFUoZ xdBdmf3boNzRoz/sXWkAoIp/niqjhtw5IZ2cfooz8xw+Zf7iEzpPXgF9tloVEqKM edyvm5JqNLxwGBj7Vpzi =Rq6d -----END PGP SIGNATURE-----