I have added a new kernel module in my Android Eclair 2.1 which is
loaded in init.rc and makes a device node at /dev/mynode.
My problem is about setting the permission of this node:
If I do it by myself: "chmod 0777 /dev/mynode" the rights will be set,
till next reboot - but if I do this in init.rc it changes nothing?!
I also tried some kind of hack with service:
service setPermission /system/bin/chmod 0777 /dev/mynode
The same result --> no effect...
I don't wanna make to deeply changes, like in core elements at "system/
Any ideas for solving this bug?
create a script somewhere, for example, /system/bin/mymod.rc
chmod 0777 /dev/mynode
- add the following in /init.rc:
service mymod /system/bin/mymod.rc