custom dhclient behaviour

edit /etc/dhcp3/dhclient.conf:

interface "eth1" {
    script "/sbin/dhclient-script-eth1";
}

cp /sbin/dhclient-script /sbin/dhclient-script-eth1

edit /sbin/dhclient-script-eth1

User tags

alien encrypt squeeze Swift fio .htaccess shorewall lenny in-addr.arpa SSD hdparm xargs /etc/network/interfaces virtualbox keyboard iptables tin CentOS hotplug bug firefox SpamAssassin ardour ha pulseaudio parallel HTTPS munin iostat opcontrol exim4 sysctl.conf netfilter quagga LVM CPAN openvpn video X forwarding cluster noop kernel apache rkhunter route nginx top xfs proxy Areca mount graylog2 git lstat htop perl scsi debootstrap docker zRam gre cgroups pacemaker asoundrc iops gpg virt-install KVM ddos ulimit tun AMD qemu etch fido7 numa MegaRAID iowait centos 7 3Ware language chromium bind dhcp flash vtysh dns RT deb opreport iSCSI sftp tar regex apt docker-compose PTR sysfs vrrp profiling core dump vrrpd ps rpm tool bacula rtl8723be tftp lxc HDFS PXE jackd vlan rsync usb radeon oprofile find bridge swap ubuntu SuperMicro Adaptec xhost storage conntrack mariadb newgrp puppet sysrq SYN mkfs cpu usage Salt equalizer sublime corosync elliptics routing fail2ban OpenStack glxinfo arch qcow2 security erase alsa build exim mdadm pvmove boot soa shellshock cpanm drupal bash wordpress dpkg groups mysql NFS APU arp ipmi taskset virsh sysctl wget grub dhclient ansible php debian ipmitool chroot nfs4 ssh sysresccd tzdata DRBD glusterfs performance gtk vim su freedos tiger nvidia raid replication dovecot idmapd StorMan youtube raid5 cpu slab LSI OpenSSL search bscan xen gdb cache backtrace leap second cfq bonding ip lubuntu java lts sg perlbrew limit_conn pam arping initrd dstat backup rtsp MODx source