Skip to content

Instantly share code, notes, and snippets.

@lephuongbg
Created August 12, 2013 03:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lephuongbg/6208135 to your computer and use it in GitHub Desktop.
Save lephuongbg/6208135 to your computer and use it in GitHub Desktop.
Cancel USSD query
#!/bin/bash
modem=`ussdIdent`
resp=`dbus-send --system --print-reply --dest=org.freedesktop.ModemManager ${modem} org.freedesktop.ModemManager.Modem.Gsm.Ussd.Cancel`
echo $resp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment