On Sat, Oct 14, 2000 at 07:03:08PM -0400, Michael H. Warfield wrote:
> 
>       Note...  Right now, dhcpcd still seems to have one feature that
> I seriously need and pump doesn't seem to have.  It dumps all its lease
> information into a known file (/etc/dhcpc/dhcpcd-${IFACE}.info) which
> can be parsed by other scripts and compared with previous values.  It's
> even in a convention form that can be "sourced" from a script to set
> environment variables.  If the newer versions of pump support something
> similar, I haven't found it yet.

You could conceivably set a script in pump.conf which does a 
pump -s >> $FILE:

Device eth0
        IP: 216.78.197.8
        Netmask: 255.255.252.0
        Broadcast: 216.78.199.255
        Network: 216.78.196.0
        Boot server 205.152.133.254
        Next server 0.0.0.0
        Gateway: 216.78.196.1
        Boot file: 005004a87713
        Domain: sdf.bellsouth.net
        Nameservers: 205.152.133.254 205.152.0.5
        Renewal time: Sun Oct 15 05:42:22 2000
        Expiration time: Sun Oct 15 07:12:22 2000

Is that close? Just trying this with a forced renewal (pump -R), and
the script does not get run at all :(

-- 
Hal B
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
--



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to