Gentoo Archives: gentoo-user

From: Remy Blank <remy.blank@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: OT: tool for reading /etc/conf.d/net?
Date: Thu, 08 Jul 2010 12:14:42
Message-Id: i14fe8$hsu$1@dough.gmane.org
In Reply to: [gentoo-user] OT: tool for reading /etc/conf.d/net? by Amit Dor-Shifer
1 Amit Dor-Shifer wrote:
2 > Can anyone recommend a tool that can parse networking info from a/m
3 > file, so one can use it to query, e.g. what is the static IP configured
4 > on eth0?
5
6 bash?
7
8 No, I'm not joking. The file is a bash script, and hence can just be
9 sourced by another bash script, which could then print the relevant
10 information in any desired format.
11
12 -- Remy

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Re: OT: tool for reading /etc/conf.d/net? Amit Dor-Shifer <amitds@××××××.com>