
26 Aug
2006
26 Aug
'06
10:45
* Christian Kollmann c.kollmann@gmx.net [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/