From: Victor Lowther Date: Thu, 26 Feb 2009 02:42:09 +0000 (-0800) Subject: Save any dhcp options we did not handle to net.$interface.dhcpopts X-Git-Tag: 0.1~411 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a376b57eb48caf73779e14a461837b26af7d637;p=thirdparty%2Fdracut.git Save any dhcp options we did not handle to net.$interface.dhcpopts --- diff --git a/dhclient-script b/dhclient-script index dce98781a..5a2c66b8a 100755 --- a/dhclient-script +++ b/dhclient-script @@ -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