Save any dhcp options we did not handle to net.$interface.dhcpopts
authorVictor Lowther <victor.lowther-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Thu, 26 Feb 2009 02:42:09 +0000 (18:42 -0800)
committerHarald Hoyer <harald@redhat.com>
Wed, 4 Mar 2009 15:55:02 +0000 (16:55 +0100)
dhclient-script

index dce9878..5a2c66b 100755 (executable)
@@ -19,6 +19,7 @@ case $reason in
        for s in $new_domain_name_servers; do
            echo "nameserver $s" >> /etc/resolv.conf
        done
+       set |grep -e '^new_[a-z_]=' >/net.$interface.dhcpopts
        >/net.$interface.up ;;
     *) ;;
 esac