[Grml] When has dhclient finished?
s. keeling
keeling at spots.ab.ca
Tue Aug 22 05:44:42 CEST 2006
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.
- -
More information about the Grml
mailing list