]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
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 dce98781a258c1ed9fffaf55c70e6fd0ca146481..5a2c66b8a1b86a48583b317841743894b04026b3 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