/usr/share/doc/gammu-doc/examples/smsd-state.py is in gammu-doc 1.33.0-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | #!/usr/bin/env python
# sample script to show how to get SMSD status
import gammu.smsd
smsd = gammu.smsd.SMSD('/etc/gammu-smsdrc')
print smsd.GetStatus()
|