[android-kernel] Re: problems with starting a shell script at boot time from init..rc

2012-08-02 Thread William Roberts
Shouldn't be executable? We have something in SE Android that uses something similair in out init.rc we have: service netlabels /system/bin/selinux-network.sh class core oneshot And our Android.mk for the project has this: include $(CLEAR_VARS) LOCAL_MODULE := selinux-network.sh LOCAL_

[android-kernel] Receiving incorrect ARP reply on "ether over usb" link

2012-08-02 Thread Nhu Le
I am trying to connect my phone to a device with the phone acting as the host (using the OTG USB cable). Once connected, I have new entry "usb0" when I do ifconfig. I assigned 192.168.3.100 to the phone and 192.168.3.99 to the device. When I do a tcpdump, I saw that the arp request from the pho

Re: [android-kernel] Re: problems with starting a shell script at boot time from init..rc

2012-08-02 Thread Gary
The class is the IP adduced or Mac of device's On Aug 2, 2012 2:47 AM, "Pieter" wrote: > > Hi all, > > I solved it. It seems you have to specify the class, otherwise it is in the class "default". In your init.rc, there are only statements for class_start core and class_start main. So you have to

[android-kernel] Re: problems with starting a shell script at boot time from init..rc

2012-08-02 Thread Pieter
Hi all, I solved it. It seems you have to specify the class, otherwise it is in the class "default". In your init.rc, there are only statements for class_start core and class_start main. So you have to specifiy the class and add (if needed) an appropriate class_start statement. On Wednesday,