Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Commands to trigger plane mode

    Reply
    romu | # 1 | 2018-03-02, 12:55 | Report

    I'm looking for the commands to setup some cron jobs in order to put my phone in plane mode at night.

    Any idea? Thanks.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to romu For This Useful Post:
    juiceme

     
    coderus | # 2 | 2018-03-02, 13:32 | Report

    Code:
    dbus-send --print-reply --system --dest=net.connman / net.connman.Manager.SetProperty string:OfflineMode variant:boolean:true

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to coderus For This Useful Post:
    juiceme, nieldk, romu, suicidal_orange

     
    romu | # 3 | 2018-03-02, 13:54 | Report

    Originally Posted by coderus View Post
    Code:
    dbus-send --print-reply --system --dest=net.connman / net.connman.Manager.SetProperty string:OfflineMode variant:boolean:true
    Great, thanks. And so I guess :

    Code:
    dbus-send --print-reply --system --dest=net.connman / net.connman.Manager.SetProperty string:OfflineMode variant:boolean:false
    ...to bring back the connections. Right?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to romu For This Useful Post:
    juiceme, meloferz, nieldk

     
    coderus | # 4 | 2018-03-02, 14:03 | Report

    this is correct!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to coderus For This Useful Post:
    juiceme, meloferz, nieldk, romu

     
vBulletin® Version 3.8.8
Normal Logout