new_dhcp_next_server is really new_next_server

The variable that dhclient sets doesn't have dhcp in the name. This
could cause problems with setups where the server is not the same as the
dhcp server.
Brian C. Lane 2014-02-05 12:10:39 -08:00 committed by Harald Hoyer
parent 80f75fed99
commit 99ed45c218
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ nfsroot_from_dhcp() {
[ -z "$path" ] && [ "$(getarg root=)" == "/dev/nfs" ] && path=/tftpboot/%s
[ -z "$server" ] && server=$srv
[ -z "$server" ] && server=$new_dhcp_server_identifier
[ -z "$server" ] && server=$new_dhcp_next_server
[ -z "$server" ] && server=$new_next_server
[ -z "$server" ] && server=${new_root_path%%:*}
}