Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/include/register.global.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2698 by niro, Fri Sep 11 09:56:34 2015 UTC revision 2699 by niro, Wed Dec 16 14:11:07 2015 UTC
# Line 9  validate_client() Line 9  validate_client()
9   local serial_id   local serial_id
10   local os   local os
11   local tools   local tools
12     local netboot
13    
14   if [[ -z ${mac_address} ]]   if [[ -z ${mac_address} ]]
15   then   then
# Line 69  validate_client() Line 70  validate_client()
70   tools=$(control_client "${serial}" run-queue)   tools=$(control_client "${serial}" run-queue)
71   import_resource client_version "${serial}" utils "${tools}"   import_resource client_version "${serial}" utils "${tools}"
72    
73     # update netboot state too
74     nsslsay_queue_init
75     nsslsay_queue_add "nocolors"
76     nsslsay_queue_add "get version.netboot"
77     netboot=$(control_client "${serial}" run-queue)
78     import_resource state_connected "${serial}" netboot "${netboot}"
79    
80   # run hardware detection   # run hardware detection
81   if is_provided hardware   if is_provided hardware
82   then   then

Legend:
Removed from v.2698  
changed lines
  Added in v.2699