Lars Müller wrote:
On Mon, Oct 19, 2009 at 01:30:51PM -0500, Moby wrote: [ 8< ]
I take that to mean I can create a script in /etc/sysconfig/network/script and then reference that script in /etc/sysconfig/network/ifcfg-dhcpif. The possible question I may have (still reading and trying to decide the best way to do this) is how dhcp data (most importantly default gateway) will be passed into my script.
Cf. /etc/sysconfig/network/if-up.d/21-dhcpcd-hook-samba
This script should at least provide you enough background information how the dhcpcd or dhcp-client DHCP clients provide the information to the remaining parts of the system.
Lars
Many thanks Lars - I took a peek at it, I am writing one in Perl and it is able to hook into the dhcp up event fine now. I read /var/lib/dhcpcd-intname.info to get dhcp information. In case anyone else is interested, I can post the script either here or somewhere else. Thanks again. -- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org