-C, --nohook doesn't seem to be working
Dallas Clement
Wed Dec 14 18:06:46 2011I have observed that the 20-resolv.conf script is being executed for every interface even when I supply the -C or --nohook option to dhcpcd. root@bubba:/etc/init.d# ps | grep dhcp 6741 root 4976 S /sbin/dhcpcd -b -d -h bubba -C 10-mtu -Z eth? -t 15 bond0 6901 root 4976 S /sbin/dhcpcd -b -d -h bubba -G -C resolv.conf -C mtu -Z eth? -t 15 bond1 I instrumented the 20-resolv.conf with the following so I could trace execution: touch "/tmp/resolv-$interface" And I see that this script is executed for every interface: root@bubba:/# ls /tmp resolv-bond0 resolv-bond1
Archive administrator: postmaster@marples.name