Re: /etc/network/interfaces
On Thu, Aug 22, 2002 at 11:18:53 +1000, Geoff Crompton wrote:
> And I would just edit it to change it. It seemed to me that it would
> be difficult to write a script that dynamically worked out what
> network you were in. Either that or it would have to interupt the boot
> process to prompt the user for a location.
This is what I do: I use netenv. And my script is:
. /etc/netenv/netenv 0
echo eth0-$netenv_id
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Reply to: