From 6a376b57eb48caf73779e14a461837b26af7d637 Mon Sep 17 00:00:00 2001 From: Victor Lowther Date: Wed, 25 Feb 2009 18:42:09 -0800 Subject: [PATCH] Save any dhcp options we did not handle to net.$interface.dhcpopts --- dhclient-script | 1 + 1 file changed, 1 insertion(+) diff --git a/dhclient-script b/dhclient-script index dce98781..5a2c66b8 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