Magellan Linux

Diff of /alx-src/trunk/alx-web/mageupgrade.php

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

revision 486 by niro, Sat Jun 7 17:25:27 2008 UTC revision 487 by niro, Sat Jun 7 17:26:50 2008 UTC
# Line 35  Line 35 
35   if($op=="calc")   if($op=="calc")
36   {   {
37   echo '<img src="pics/online.gif" align=top> '.strtoupper('Fetching list of packages to upgrade on client #'.$client.' ('.$ip.')...<br>');   echo '<img src="pics/online.gif" align=top> '.strtoupper('Fetching list of packages to upgrade on client #'.$client.' ('.$ip.')...<br>');
38   exec($sshcmd.' -l root '.$ip.' /sbin/mageupgrade --calc-bash',$out,$err);   exec($sshcmd.' -l root '.$ip.' /sbin/mage uppretend',$out,$err);
39   echo '<pre>';   echo '<pre>';
40   echo '<table border="0">';   echo '<table border="0">';
41   if (array_key_exists("0", $out))   if (array_key_exists("0", $out))

Legend:
Removed from v.486  
changed lines
  Added in v.487