29 |
do |
do |
30 |
evaluate_table_xml client_locations "where location='${loc}'" |
evaluate_table_xml client_locations "where location='${loc}'" |
31 |
|
|
32 |
|
# fallback to honor old database versions in transition phase of the upgrade |
33 |
|
if [[ -z ${client_locations_bootserver} ]] || [[ ${client_locations_bootserver} = NULL ]] |
34 |
|
then |
35 |
|
client_locations_bootserver="${client_locations_controlserver}" |
36 |
|
fi |
37 |
|
|
38 |
sed \ |
sed \ |
39 |
-e "s:@@DEFAULTENTRY@@:${client_locations_pxe_default_entry}:g" \ |
-e "s:@@DEFAULTENTRY@@:${client_locations_pxe_default_entry}:g" \ |
40 |
-e "s:@@TIMEOUT@@:${client_locations_pxe_timeout}:g" \ |
-e "s:@@TIMEOUT@@:${client_locations_pxe_timeout}:g" \ |
41 |
-e "s:@@PROMPT@@:${client_locations_pxe_prompt}:g" \ |
-e "s:@@PROMPT@@:${client_locations_pxe_prompt}:g" \ |
42 |
|
-e "s:@@BOOTSERVER@@:${client_locations_bootserver}:g" \ |
43 |
-e "s:@@CONTROLSERVER@@:${client_locations_controlserver}:g" \ |
-e "s:@@CONTROLSERVER@@:${client_locations_controlserver}:g" \ |
44 |
-e "s:@@LOCATION@@:${client_locations_location}:g" \ |
-e "s:@@LOCATION@@:${client_locations_location}:g" \ |
45 |
\ |
\ |