John Jolet wrote:

On Wednesday 02 November 2005 09:04, Jorge Almeida wrote:
Anyone knows whether the current (dynamical) IP is stored in some text
file?
I know I can find the IP with ifconfig, but if the value were stored in
some file I could setup a service to monitor the file for changes and
take appropriate actions on change of IP.
man dhcpcd. there's a .cache file and a .info file...I think in /var/lib/dhcpc
--
Jorge Almeida


cat /var/lib/dhcpc/.cache >> /path/to/output/file -- theres another idea
good lookin out

--
gentoo-user@gentoo.org mailing list

Reply via email to