Incoming from Christian Kollmann:
> 
> In grml dhclient is running in background to obtain an DHCP address on 
> startup.
> But how do I know, when it has finished, and how can I execute some custom
> commands afterwards?

I *always* have xconsole running in my user session, so I know
everything about what the box is doing.

   -  startx into user X session.

   -  from xterm (et al) "su" (no dash "-"), which lets your root
      login use your user's XSESSION.

   -  as root, "xconsole -file /dev/xconsole -daemon -notify -exitOnFail &"

Enjoy the pretty messages.  You might want to play with some
Xresources:

*XConsole*text.scrollHorizontal:   true
*XConsole*font:                    -*-*-medium-r-*-*-*-90-*-*-*-*-iso8859-1
*XConsole*geometry:                596x114-4-4
*XConsole*foreground:              wheat
*XConsole*background:              black
*XConsole*scrollColor:             wheat


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://www.spots.ab.ca/~keeling      Please don't Cc: me.
- -
_______________________________________________
Grml mailing list - [email protected]
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/

Reply via email to