dhclient-script, hooks, and changing the environment

Yves-Alexis Perez corsac at debian.org
Thu Aug 7 05:32:55 UTC 2008


On mer, 2008-08-06 at 21:10 -0300, martin f krafft wrote:
> Anything else? Do you know of packages that rely on this
> functionality? Do you have scripts of your own which modify the
> environment? Would you please be so kind as to explain to me what
> they do, and help me figure out whether there isn't a better way for
> them?

There is not much packages which use hooks anyway:

corsac at hidalgo: dlocate /etc/dhcp3/dhclient-\*-hooks.d
dhcdbd: /etc/dhcp3/dhclient-exit-hooks.d
dhcdbd: /etc/dhcp3/dhclient-exit-hooks.d/dhcdbd
ntp: /etc/dhcp3/dhclient-exit-hooks.d
ntp: /etc/dhcp3/dhclient-exit-hooks.d/ntp
ntp: /etc/dhcp3/dhclient-enter-hooks.d/ntp
samba-common: /etc/dhcp3/dhclient-enter-hooks.d
samba-common: /etc/dhcp3/dhclient-enter-hooks.d/samba
dhcp3-client: /etc/dhcp3/dhclient-exit-hooks.d
dhcp3-client: /etc/dhcp3/dhclient-exit-hooks.d/rfc3442-classless-routes
dhcp3-client: /etc/dhcp3/dhclient-exit-hooks.d/debug
dhcp3-client: /etc/dhcp3/dhclient-enter-hooks.d
dhcp3-client: /etc/dhcp3/dhclient-enter-hooks.d/debug
resolvconf: /etc/dhcp3/dhclient-enter-hooks.d
resolvconf: /etc/dhcp3/dhclient-enter-hooks.d/resolvconf

and I'm not sure either of them changes the environment.
Maybe upstream will know a bit more?

Cheers,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/netconf-devel/attachments/20080807/b2256795/attachment.pgp 


More information about the netconf-devel mailing list