* Christian Kollmann <[EMAIL PROTECTED]> [20060826 10:15]:
>  Nico Golde wrote:

> >> and how can I execute some custom
> >> commands afterwards?

> > Are you executing it from the command line or via init scripts?

>  via init script, so I can???t "come back" to the commandline ;-)

The dhcp request (it's 'pump' and not dhclient) is running in
the background to speed up booting.

What you could do for example:

* execute ip-screen in your initscript and check it's output
  or use another program to check for current state of network

* grep for something like 'dhclient: DHCPACK from' in the logs

* boot using "grml nodhcp" and execute dhclient/pump on your own

The last method gives you maximum flexibility, so possibly it's a
good choice for your needs.

regards,
-mika-
-- 
You like grml?  Help us!      http://grml.org/donations/
Already on the grml-user-map? http://www.frappr.com/grmlusers
Grml Solutions                http://solutions.grml.org/

Attachment: pgpOuV9YTr5uE.pgp
Description: PGP signature

_______________________________________________
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/

Reply via email to