[PATCH 3/5] Save any dhcp options we did not handle to net.$interface.dhcpopts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 dhclient-script |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dhclient-script b/dhclient-script
index dce9878..5a2c66b 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
-- 
1.6.0.6

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux