Results 1 to 2 of 2

Thread: Energy management script

  1. #1

    Default Energy management script

    Hi to all (openSUSE 13.1, kde 4.12 )
    I'd like run a script, "battery almost low" at the its profile activation
    Now, my problem is that the script should run the command:

    Code:
    hciconfig hci0 down
    to deactivate the RF signal on bluetooth device

    but unfortunately this, requires root privileges.
    How I can do without putting my password in clear ?
    ...otherwise, can I enter the command in a "profile" file already exists ?

    can you help me ?
    ciao

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Energy management script

    On 2013-12-29 13:06, NeverGiveUp01 wrote:
    > but unfortunately this, requires root privileges.
    > How I can do without putting my password in clear ?


    With sudo, configured appropriately.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" (Elessar))

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •