35 |
local value |
local value |
36 |
|
|
37 |
value=$(mysqldo "select client_locations.helpdesk_unit from client_serials inner join client_locations on client_serials.location=client_locations.location where serial='${serial}'") |
value=$(mysqldo "select client_locations.helpdesk_unit from client_serials inner join client_locations on client_serials.location=client_locations.location where serial='${serial}'") |
38 |
control_client "${serial}" set helpdesk.unit "${value}" |
control_client "${serial}" set helpdesk.unit "\"${value}\"" |
39 |
} |
} |
40 |
|
|
41 |
push_config_05_helpdesk_phone() |
push_config_05_helpdesk_phone() |
44 |
local value |
local value |
45 |
|
|
46 |
value=$(mysqldo "select client_locations.helpdesk_phone from client_serials inner join client_locations on client_serials.location=client_locations.location where serial='${serial}'") |
value=$(mysqldo "select client_locations.helpdesk_phone from client_serials inner join client_locations on client_serials.location=client_locations.location where serial='${serial}'") |
47 |
control_client "${serial}" set helpdesk.phone "${value}" |
control_client "${serial}" set helpdesk.phone "\"${value}\"" |
48 |
} |
} |