On 18.12.2008, at 00:51, [email protected] wrote:

> On Wed, Dec 17, 2008 at 12:31:31PM +0530, shivaprasad javali wrote:
>> So I have to modify the /etc/sysconfig/modules/olpc-1.modules file so
>> that I ask the XO to load the OSS module when it boots.
>
> Why when it boots?  Why not when the activity starts?
>
> #!/usr/bin/python
> import os
> os.system("/bin/su -c 'modprobe snd-pcm-oss' root")


An activity cannot become root. Activities do not run as user olpc.

- Bert -


_______________________________________________
Devel mailing list
[email protected]
http://lists.laptop.org/listinfo/devel

Reply via email to