Works like a charm. Thanks!

service dhcpcd /system/bin/logwrapper /system/bin/dhcpcd -d eth0
    disabled
    oneshot

dhcp hooks were trying to give me this error:

I//system/bin/dhcpcd( 1813): /system/etc/dhcpcd/dhcpcd-run-hooks:
cannot create /dev/null: permission denied

Now lets see what is this problem...

On Feb 2, 2:38 pm, Joerie de Gram <j.de.g...@gmail.com> wrote:
> Hi,
>
> Try running the binary/script using /system/bin/logwrapper and then
> check the logs using logcat.
>
> Joerie
>
> On Wed, Feb 2, 2011 at 11:59 AM, extrapedestrian
>
>
>
>
>
>
>
> <extra.pedestr...@gmail.com> wrote:
> > how can I get echo messages from various scripts started from init.rc
> > printed to console?
>
> > for example, dhcpcd service runs dhcpcd-run-hooks script and echo from
> > there is not printed.
> > also, when i run my custom script.sh like service from init.rc, echo
> > is not printed.
>
> > thanks,
> > Petar
>
> > --
> > unsubscribe: android-porting+unsubscr...@googlegroups.com
> > website:http://groups.google.com/group/android-porting

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to