--- alx-src/branches/alx-web-070/index.php 2015/12/16 15:21:22 8005 +++ alx-src/branches/alx-web-070/index.php 2015/12/16 15:26:57 8006 @@ -122,7 +122,8 @@ echo 'editserialhostnameipmaclast connected'; //always enable showversion atm $showversion = "on"; -if($showversion=='on') echo 'version'; +if($showversion=='on') echo 'version'; +echo 'boot'; echo 'up/down'; foreach($comps as $c) @@ -159,10 +160,6 @@ $alxver = $alxinfo[os]; $alxutils = $alxinfo[utils]; - //netboot state - if($c['netboot'] == 1) $bootmethod = 'Netboot (PXE)'; - else $bootmethod = 'Local Disk'; - // if( $alxver == '') // { // if($c['online']) @@ -176,11 +173,14 @@ if($alxver == '') $alxver='unknown'; if($alxutils == '') $alxutils='unknown'; - echo ''.$bootmethod.''; echo ''.$alxver.''; echo ''.$alxutils.''; } + //netboot state + if($c['netboot'] == 1) echo 'Netboot (PXE)'; + else echo 'Local Disk'; + echo ''; if($c['online']) {