Active Topics

 



Notices


Reply
Thread Tools
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#31
Hi,

the app was released, announcement here : http://www.internettablettalk.com/fo...ad.php?t=24396

The app is only tested by me, so should have a lot of bugs yet

Best regards.
 
Posts: 144 | Thanked: 45 times | Joined on Oct 2007 @ Detroit
#32
Originally Posted by qwerty12 View Post
In your package. create a file called:
/etc/sudoers.d/bluemaemo.sudoers

Put this in the file:
user ALL = NOPASSWD: <program you want to be able to execute as root - FULL PATH MUST BE SPECIFIED>

In the postinst, put:
update-sudoers || true

Then where you need to run the program as root, just specify sudo <program> to start the program.
This is what i initially did for switchonbt script, a better way would be to use d-bus commands.
Let me know if I can be of help.

~m~
Varghese
 

The Following User Says Thank You to vabgeo For This Useful Post:
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#33
Originally Posted by vabgeo View Post
This is what i initially did for switchonbt script, a better way would be to use d-bus commands.
Let me know if I can be of help.

~m~
Varghese
Thanks Vabgeo, I want this for other propose (open reserved sockets), for the BT switch on and off I already have the d-bus commands.
 
Reply

Tags
remote control


 
Forum Jump


All times are GMT. The time now is 22:12.